Skip to content

Commit

Permalink
fix: 修改release路径
Browse files Browse the repository at this point in the history
  • Loading branch information
HalfSweet committed Dec 31, 2023
1 parent 6f133c0 commit 75564b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,18 @@ jobs:
cd target/${{ matrix.target.name }}/release
chmod +x AirISP-next
cp AirISP-next ${{ github.workspace }}/release
tar zcvf ${{ github.workspace }}/release/AirISP-${{ github.ref_name }}-${{ matrix.target.file_name }}.tar.gz target/${{ matrix.target.name }}/release
tar zcvf ${{ github.workspace }}/AirISP-${{ github.ref_name }}-${{ matrix.target.file_name }}.tar.gz target/${{ matrix.target.name }}/release
- name: Create Windows release
if: runner.os == 'Windows'
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "${{ github.workspace }}/release/AirISP-${{ github.ref_name }}-${{ matrix.target.file_name }}.zip"
artifacts: "${{ github.workspace }}/AirISP-${{ github.ref_name }}-${{ matrix.target.file_name }}.zip"

- name: Create release
if: runner.os != 'Windows'
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "${{ github.workspace }}/release/AirISP-${{ github.ref_name }}-${{ matrix.target.file_name }}.tar.gz"
artifacts: "${{ github.workspace }}/AirISP-${{ github.ref_name }}-${{ matrix.target.file_name }}.tar.gz"

0 comments on commit 75564b7

Please sign in to comment.