Skip to content

Commit

Permalink
[CI] Fix release artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex committed Mar 11, 2024
1 parent cf1a54c commit 5587a3d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ jobs:
- name: Rename
run: mv app.zip neothesia-ubuntu.zip
- name: Release
uses: softprops/action-gh-release@v2
with:
draft: true
files: neothesia-ubuntu.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{github.ref_name}} neothesia-ubuntu.zip

build_ubuntu_recorder:
runs-on: ubuntu-latest
Expand All @@ -33,10 +32,9 @@ jobs:
- name: Rename
run: mv app.zip neothesia-cli-ubuntu.zip
- name: Release
uses: softprops/action-gh-release@v2
with:
draft: true
files: neothesia-cli-ubuntu.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{github.ref_name}} neothesia-cli-ubuntu.zip

build_windows:
runs-on: windows-latest
Expand All @@ -49,10 +47,9 @@ jobs:
- name: Rename
run: Move-Item -Path target/release/neothesia.exe -Destination neothesia.exe
- name: Release
uses: softprops/action-gh-release@v2
with:
draft: true
files: neothesia.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{github.ref_name}} neothesia.exe

build_windows_recorder:
runs-on: windows-latest
Expand All @@ -69,10 +66,9 @@ jobs:
- name: Rename
run: Move-Item -Path target/release/neothesia-cli.exe -Destination neothesia-cli.exe
- name: Release
uses: softprops/action-gh-release@v2
with:
draft: true
files: neothesia-cli.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{github.ref_name}} neothesia-cli.exe

build_macos:
runs-on: macos-latest
Expand All @@ -93,4 +89,8 @@ jobs:
with:
draft: true
files: neothesia-macos.zip
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{github.ref_name}} neothesia-macos.zip

0 comments on commit 5587a3d

Please sign in to comment.