Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
suyulin committed Dec 25, 2024
1 parent 554f941 commit 3619004
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,17 @@ jobs:
- name: Run tests
run: cargo test --verbose

# 打包二进制文件
- name: Package binary (only for release builds)
if: startsWith(github.ref, 'refs/tags/')
run: |
mkdir -p dist
if [[ "${{ runner.os }}" == "Windows" ]]; then
if [ "${{ runner.os }}" = "Windows" ]; then
cp target/release/afptool-rs.exe dist/
else
cp target/release/afptool-rs dist/
fi
shell: bash

- name: Upload Release Artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 3619004

Please sign in to comment.