Skip to content

Commit

Permalink
Update builder.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DexterHK authored Jun 18, 2024
1 parent 98e9346 commit 5198ff0
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,24 @@ jobs:
# run: |
# cargo ndk -t arm64-v8a -o ./ build

- name: Create .env file
run: echo "${{ secrets.PROD_FULL_ENV_FILE }}" > ./Jinlibs/libprototype_rust_wrapper.so
- name: Save Primes
id: cache-primes-save
uses: actions/cache/save@v4
with:
path: |
./
./
key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}

- name: Smoke test `ndk-env`
run: cargo ndk-env
- name: building
run: cargo ndk -t arm64-v8a -o ./Jinlibs/ build
run: cargo ndk -t arm64-v8a -o ${{ steps.cache-primes-restore.outputs.cache-primary-key }} build


- name: upload artifact
uses: actions/upload-artifact@v3
with:
name: library
path: ./Jinlibs/
path: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}

0 comments on commit 5198ff0

Please sign in to comment.