Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 38 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,43 @@ 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
permissions:
contents: write
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/macos-latest/**/*.app.tar.gz.sig
artifacts/ubuntu-24.04/**/*.AppImage
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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

upload-s3:
needs: build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -327,4 +364,4 @@ jobs:
r2-bucket: hackclub-hackatime-desktop
source-dir: update-manifest.json
destination-dir: ./
keep-file-fresh: true
keep-file-fresh: true
Loading