Skip to content

Commit

Permalink
Name release binaries correctly;
Browse files Browse the repository at this point in the history
  • Loading branch information
onepiecefreak3 committed Mar 30, 2021
1 parent cb5ceb4 commit 8934e95
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
mv ./dist/Release/netcoreapp31/osx-x64/Kuriimu2.EtoForms.Mac.app ./dist/final/Eto/Mac/Kuriimu2.app
mv ./dist/final/Eto/Mac/Kuriimu2.app/Contents/MacOS/Kuriimu2.EtoForms.Mac ./dist/final/Eto/Mac/Kuriimu2.app/Contents/MacOS/Kuriimu2
- name: Publish EtoForms for Windows
- name: Publish CommandLine for Windows
run: |
dotnet publish ./src/Kuriimu2.Cmd/Kuriimu2.Cmd.csproj --output ./dist/final/Cmd --configuration Release --framework netcoreapp31 --runtime win-x64 /p:PublishSingleFile=true
mv ./dist/final/Cmd/Kuriimu2.Cmd.exe ./dist/final/Cmd/Kuriimu2.exe
Expand Down Expand Up @@ -211,6 +211,13 @@ jobs:
github_token: ${{ secrets.PRIVATE_ACCESS_TOKEN }}

# Create github release for EtoForms
- name: Rename releases
run: |
mv ./update/Eto/Wpf/latest.zip ./update/Eto/Wpf/Kuriimu2_Windows.zip
mv ./update/Eto/Gtk/latest.zip ./update/Eto/Gtk/Kuriimu2_Linux.zip
mv ./update/Eto/Mac/latest.zip ./update/Eto/Mac/Kuriimu2_Mac.zip
mv ./update/Cmd/latest.zip ./update/Cmd/Kuriimu2_Cmd.zip
- name: Release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -220,9 +227,9 @@ jobs:
body_path: changelog.txt
tag_name: ${{ steps.set_version.outputs.prop }}
files: |
update/Eto/Wpf/latest.zip
update/Eto/Gtk/latest.zip
update/Eto/Mac/latest.zip
update/Cmd/latest.zip
./update/Eto/Wpf/Kuriimu2_Windows.zip
./update/Eto/Gtk/Kuriimu2_Linux.zip
./update/Eto/Mac/Kuriimu2_Mac.zip
./update/Cmd/Kuriimu2_Cmd.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8934e95

Please sign in to comment.