Skip to content

Commit

Permalink
fix: publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Horbin-Magician authored Oct 8, 2024
1 parent 5f5374b commit f422195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
run: cargo build --release

- name: Compress
run: Compress-Archive -Path assets, target\release\rotor.exe -DestinationPath rotor-$LATEST_TAG.zip
run: Compress-Archive -Path assets, target\release\rotor.exe -DestinationPath rotor-${{ env.LATEST_TAG }}.zip

- name: release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: rotor-$LATEST_TAG.zip
files: rotor-${{ env.LATEST_TAG }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f422195

Please sign in to comment.