From 8d698640048fab347db5b2e0a5cf162e87c0e5ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Daniel?= Date: Sun, 10 Jul 2022 18:09:57 -0300 Subject: [PATCH] fix artifacts names for release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Daniel --- .github/workflows/release.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d0fd5c9..2c99a5c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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