Skip to content

Commit

Permalink
chore: test: fix missing env & upload binaries to release
Browse files Browse the repository at this point in the history
  • Loading branch information
keiko233 committed Nov 25, 2023
1 parent b09331e commit 7742484
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/macos-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,19 @@ jobs:
pnpm check --arch arm64 --sidecar-host aarch64-apple-darwin
- name: Tauri build (cmd)
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
run: |
pnpm build --target aarch64-apple-darwin
mv ./src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Clash Nyanpasu.app ./src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Clash Nyanpasu.aarch64.app
mv ./src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Clash Nyanpasu.app.tar.gz ./src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Clash Nyanpasu.aarch64.app.tar.gz
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GH_TOKEN }}
file: src-tauri/target/aarch64-apple-darwin/release/bundle/**/*
tag: dev
prerelease: true

0 comments on commit 7742484

Please sign in to comment.