diff --git a/.github/workflows/archlinux.yml b/.github/workflows/archlinux.yml index 9b1723bb..dfde65f6 100644 --- a/.github/workflows/archlinux.yml +++ b/.github/workflows/archlinux.yml @@ -96,11 +96,11 @@ jobs: cd "${{ env.BUILD_DIR }}" && tar -czf "nui-sftp-linux-frontend_${{ env.VERSION }}.tar.gz" frontend - name: Upload Artifact to Release - if: startsWith(github.ref, 'refs/tags/v') + # if: startsWith(github.ref, 'refs/tags/v') env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.RELEASEUPLOADPAT }} run: | - gh release upload "v${{ env.VERSION }}" "${{ env.BUILD_DIR }}/nui-sftp-linux-frontend_${{ env.VERSION }}.tar.gz" + gh release upload "v${{ env.VERSION_CLEAN }}" "${{ env.BUILD_DIR }}/nui-sftp-linux-frontend_${{ env.VERSION }}.tar.gz" - name: Upload artifacts to MEGA S4 if: startsWith(github.ref, 'refs/tags/v')