Skip to content

Commit

Permalink
fix artifacts names for release
Browse files Browse the repository at this point in the history
Signed-off-by: João Daniel <[email protected]>
  • Loading branch information
jooaodanieel committed Jul 11, 2022
1 parent 21cd06f commit 8d69864
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
with:
install-native: true
- run: ./gradlew build
- run: mv build/bin/native/releaseExecutable/g-commit.kexe build/bin/native/releaseExecutable/g-commit-${{ matrix.os }}.kexe
- uses: actions/upload-artifact@v3
with:
name: gcommit-${{ matrix.os }}.kexe
path: build/bin/native/releaseExecutable/g-commit.kexe
with:
name: gcommit-${{ matrix.os }}
path: build/bin/native/releaseExecutable/g-commit-${{ matrix.os }}.kexe

release:
runs-on: ubuntu-latest
Expand All @@ -30,16 +31,19 @@ jobs:
- uses: actions/download-artifact@v3
name: download ubuntu
with:
name: gcommit-ubuntu-latest.kexe
name: gcommit-ubuntu-latest
- uses: actions/download-artifact@v3
name: download macos
with:
name: gcommit-macos-latest.kexe
name: gcommit-macos-latest

- run: ls -R

- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.RELEASE_TOKEN }}
title: GCommit
prerelease: false
files: |
gcommit-macos-latest.kexe
gcommit-ubuntu-latest.kexe
g-commit-macos-latest.kexe
g-commit-ubuntu-latest.kexe

0 comments on commit 8d69864

Please sign in to comment.