Skip to content

Commit

Permalink
Fix: make ci happy
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangFuSL committed Mar 21, 2024
1 parent 5706b98 commit 0b0ffc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
- name: Upload Release Asset (Linux & macOS)
if: matrix.os != 'windows'
run:
mv target/dist/dsp-calculator dsp-calculator-${{ matrix.os }}
mv target/dist/dsp-calculator dsp-calculator-${{ matrix.os }} &&
gh release upload ${{ github.ref }} dsp-calculator-${{ matrix.os }} --clobber
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Release Asset (Windows)
if: matrix.os == 'windows'
run:
mv target/dist/dsp-calculator.exe dsp-calculator-${{ matrix.os }}.exe
mv target/dist/dsp-calculator.exe dsp-calculator-${{ matrix.os }}.exe &&
gh release upload ${{ github.ref }} dsp-calculator-${{ matrix.os }}.exe --clobber
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 0b0ffc1

Please sign in to comment.