From dd00f1eba109c5a9eb2a98fb89cb1cc5f4cf8188 Mon Sep 17 00:00:00 2001 From: End Date: Tue, 6 Jan 2026 20:30:47 -0700 Subject: [PATCH 1/4] Add GitHub release upload step to workflow --- .github/workflows/release.yaml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 057bc05..10f2f7e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -229,6 +229,34 @@ jobs: src-tauri/target/release/bundle/nsis/*.exe src-tauri/target/release/bundle/nsis/*.nsis.zip src-tauri/target/release/bundle/nsis/*.nsis.zip.sig + + upload-github-release: + needs: + - build + - release-please + runs-on: ubuntu-latest + if: ${{ fromJSON(needs.release-please.outputs.manifest).releases_created == 'true' }} + steps: + - name: Download all artifacts + uses: actions/download-artifact@v5 + with: + path: artifacts + + - name: Upload Release Assets + uses: softprops/action-gh-release@v1 + with: + tag_name: ${{ needs.release-please.outputs.tag_name }} + files: | + artifacts/macos-latest/**/*.dmg + artifacts/macos-latest/**/*.app.tar.gz + artifacts/ubuntu-24.04/**/*.AppImage + artifacts/ubuntu-24.04/**/*.deb + artifacts/ubuntu-24.04/**/*.rpm + artifacts/windows-latest/**/*.msi + artifacts/windows-latest/**/*.exe + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + upload-s3: needs: build runs-on: ubuntu-latest @@ -327,4 +355,4 @@ jobs: r2-bucket: hackclub-hackatime-desktop source-dir: update-manifest.json destination-dir: ./ - keep-file-fresh: true \ No newline at end of file + keep-file-fresh: true From 892a2f96cf8130985ed63c15956ed84f5c7f7092 Mon Sep 17 00:00:00 2001 From: End Date: Tue, 6 Jan 2026 20:34:28 -0700 Subject: [PATCH 2/4] Update .github/workflows/release.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 10f2f7e..b06b8ce 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -234,6 +234,8 @@ jobs: needs: - build - release-please + permissions: + contents: write runs-on: ubuntu-latest if: ${{ fromJSON(needs.release-please.outputs.manifest).releases_created == 'true' }} steps: From ec530f94890805a5ffdb59c3a40c017e057ffdf4 Mon Sep 17 00:00:00 2001 From: End Date: Tue, 6 Jan 2026 20:34:58 -0700 Subject: [PATCH 3/4] Add relasie sigs to upload Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b06b8ce..7035228 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -251,10 +251,14 @@ jobs: files: | artifacts/macos-latest/**/*.dmg artifacts/macos-latest/**/*.app.tar.gz + artifacts/macos-latest/**/*.app.tar.gz.sig artifacts/ubuntu-24.04/**/*.AppImage + artifacts/ubuntu-24.04/**/*.AppImage.tar.gz.sig artifacts/ubuntu-24.04/**/*.deb artifacts/ubuntu-24.04/**/*.rpm artifacts/windows-latest/**/*.msi + artifacts/windows-latest/**/*.msi.zip.sig + artifacts/windows-latest/**/*.nsis.zip.sig artifacts/windows-latest/**/*.exe env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 577f473de3375f1bbc697332dc2ce72a37a535e2 Mon Sep 17 00:00:00 2001 From: End Date: Tue, 6 Jan 2026 20:35:29 -0700 Subject: [PATCH 4/4] Upload source to release Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7035228..b354ca2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -253,10 +253,13 @@ jobs: artifacts/macos-latest/**/*.app.tar.gz artifacts/macos-latest/**/*.app.tar.gz.sig artifacts/ubuntu-24.04/**/*.AppImage - artifacts/ubuntu-24.04/**/*.AppImage.tar.gz.sig + artifacts/ubuntu-24.04/**/*.AppImage + artifacts/ubuntu-24.04/**/*.AppImage.tar.gz artifacts/ubuntu-24.04/**/*.deb artifacts/ubuntu-24.04/**/*.rpm artifacts/windows-latest/**/*.msi + artifacts/windows-latest/**/*.msi.zip + artifacts/windows-latest/**/*.nsis.zip artifacts/windows-latest/**/*.msi.zip.sig artifacts/windows-latest/**/*.nsis.zip.sig artifacts/windows-latest/**/*.exe