Skip to content

Commit

Permalink
github.event.inputs.releaseVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
SummonHIM committed Jul 17, 2022
1 parent aa90743 commit b98c603
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 @@ -20,15 +20,15 @@ jobs:
- name: Pack script to zip
run: |
todos bmd.ps1
zip -r Bestdori-Music-Downloader-$GITHUB_EVENT_INPUTS_RELEASEVERSION.zip bmd.ps1 README.md
zip -r Bestdori-Music-Downloader-${{ github.event.inputs.releaseVersion }}.zip bmd.ps1 README.md
- name: Transcode to UTF-8 and pack script to zip
run: |
iconv -f gbk -t utf-8 bmd.ps1 > bmd.utf8.ps1
rm -rf bmd.ps1
mv bmd.utf8.ps1 bmd.ps1
todos bmd.ps1
zip -r Bestdori-Music-Downloader-UTF8-$GITHUB_EVENT_INPUTS_RELEASEVERSION.zip bmd.ps1 README.md
zip -r Bestdori-Music-Downloader-UTF8-${{ github.event.inputs.releaseVersion }}.zip bmd.ps1 README.md
- name: Create release
id: create_release
Expand Down

0 comments on commit b98c603

Please sign in to comment.