Skip to content

Commit

Permalink
ci: debian use prebuild axolotl web for tauri packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
nanu-c committed Jun 15, 2023
1 parent 02440f3 commit 0172734
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,11 @@ jobs:
- name: Build
run: npm --prefix ./axolotl-web --target_arch=arm64 run build

- name: Copy build files
run: |
cp --recursive $GITHUB_WORKSPACE/axolotl-web/dist $GITHUB_WORKSPACE/build/linux-arm64/axolotl-web/
cp --recursive $GITHUB_WORKSPACE/guis $GITHUB_WORKSPACE/build/linux-arm64/
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: linux-arm64
path: build/linux-arm64/
name: build-axolotl-web-deb-arm64
path: axolotl-web/dist/
retention-days: 1

build-axolotl-deb-arm64:
Expand Down Expand Up @@ -148,6 +143,18 @@ jobs:
- name: Check out code
uses: actions/checkout@v3

- name: Download build-axolotl-web-deb-arm64 build artifacts
uses: actions/download-artifact@v3
id: download-axolotl-web
with:
name: build-axolotl-web-deb-arm64
path: build-artifacts

- name: Copy axolotl-web build artifacts
run: |
echo $PWD
mkdir --parents axolotl-web/dist
cp -rf ${{steps.download-axolotl-web.outputs.download-path}}/* axolotl-web/dist
- name: Build
run: cargo build --release --target aarch64-unknown-linux-gnu --features tauri

Expand Down

0 comments on commit 0172734

Please sign in to comment.