Skip to content

Commit

Permalink
Fix: optimize release structure
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangFuSL committed Mar 20, 2024
1 parent 5be937b commit a50f16f
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 @@ -28,12 +28,12 @@ jobs:
- name: Compress artifacts (macOS & Linux)
if: matrix.os != 'windows-latest'
run: |
tar -czf target/dsp-calculator-${{ matrix.os }}.tar.gz target/dist/dsp-calculator
tar -czf target/dsp-calculator-${{ matrix.os }}.tar.gz -C target/dist dsp-calculator
- name: Compress artifacts (Windows)
if: matrix.os == 'windows-latest'
run: |
tar -czf target/dsp-calculator-${{ matrix.os }}.tar.gz target/dist/dsp-calculator.exe
tar -czf target/dsp-calculator-${{ matrix.os }}.tar.gz -C target/dist dsp-calculator.exe
- name: Archive artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit a50f16f

Please sign in to comment.