Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
worksoup authored Nov 29, 2024
1 parent 74f9b9f commit b9c0c6c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,19 @@ jobs:
NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
run: |
pnpm install
pnpm tauri icon ./src/lib/icons/cxsign.svg
pnpm tauri icon ${{ github.workspace }}/src/lib/icons/cxsign.svg
./build.lua android --release --split-per-abi
mkdir -p ${{ github.workspace }}/artifact
cp -r ${{ github.workspace }}/src-tauri/gen/android/app/build/outputs/* ${{ github.workspace }}/artifact
- name: Copy Artifact
run: |
mkdir -p ${{ github.workspace }}/artifact/
cp -r ${{ github.workspace }}/src-tauri/gen/android/app/build/outputs/* ${{ github.workspace }}/artifact/
- name: Upload Apk Artifact
uses: actions/upload-artifact@v4
with:
name: 'android-build-all'
path: '${{ github.workspace }}/artifact/apk/*/*.apk'
path: '${{ github.workspace }}/artifact/apk/*/release/*.apk'
- name: Upload Aab artifact
uses: actions/upload-artifact@v4
with:
name: 'android-build-all'
path: '${{ github.workspace }}/tmp/artifact/bundle/*/*.aab'
path: '${{ github.workspace }}/tmp/artifact/bundle/*/release/*.aab'

0 comments on commit b9c0c6c

Please sign in to comment.