From c8b4f9e5d851ed8898b5966a54c16299ee386801 Mon Sep 17 00:00:00 2001 From: ThomazPom Date: Thu, 5 Sep 2024 21:46:07 +0200 Subject: [PATCH] Testing actions --- .github/workflows/main.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index faac903..51ae2dd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -84,23 +84,16 @@ jobs: Release v${{ env.VERSION }} draft: false prerelease: false - env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Upload zip file to the release - - - name: Upload zip asset - uses: Shopify/upload-to-release@v2.0.0 + - name: Upload binaries to release + uses: svenstaro/upload-release-action@v2 with: - name: UltimaDark-v${{ env.VERSION }}.zip - path: release/UltimaDark-v${{ env.VERSION }}.zip - repo-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Upload xpi asset - uses: Shopify/upload-to-release@v2.0.0 - with: - name: UltimaDark-v${{ env.VERSION }}.xpi - path: release/UltimaDark-v${{ env.VERSION }}.xpi - repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: release/UltimaDark-v${{ env.VERSION }}.* + tag: v${{ env.VERSION }} + overwrite: true + file_glob: true \ No newline at end of file