Skip to content

Commit

Permalink
Update: make ci happy
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangFuSL committed Mar 20, 2024
1 parent 9267d5a commit 589fee2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,19 @@ jobs:
- name: Build application
run: cargo build --profile dist

- name: Compress artifacts
run: |
if [ ${{ matrix.os }} == "windows-latest" ]; then
tar -czf target/dsp-calculator-${{ matrix.os }}.tar.gz target/debug/dsp-calculator.exe
else
tar -czf target/dsp-calculator-${{ matrix.os }}.tar.gz target/debug/dsp-calculator
fi
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-release
path: target/release/dsp-calculator*
path: target/dsp-calculator-${{ matrix.os }}.tar.gz

publish:
needs: build
Expand Down

0 comments on commit 589fee2

Please sign in to comment.