diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6adeabd..098e316 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,3 +33,22 @@ jobs: with: name: bridge path: build + + nightly: + name: Upload Nightly Build to GitHub Releases + runs-on: ubuntu-latest + needs: [build] + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + fetch-depth: 0 + + - name: Download All Builds + uses: actions/download-artifact@v4 + + - name: Update Nightly + run: gh release upload nightly bridge/* -R ${{github.repository}} --clobber + + env: + GH_TOKEN: ${{ github.token }} diff --git a/docs/index.md b/docs/index.md index 5c2bb8a..20e58a1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -9,7 +9,7 @@ Simple bridge that allows you to use Discord Rich Presence with Wine games/softw [Download latest release](https://github.com/EnderIce2/rpc-bridge/releases/latest/download/bridge.zip "Recommended"){ .md-button .md-button--primary } [Download latest pre-release](https://github.com/EnderIce2/rpc-bridge/releases "Unstable builds with experimental features"){ .md-button } -[Download latest build](https://github.com/EnderIce2/rpc-bridge/actions/workflows/build.yml "Builds from the latest commits, here be dragons!"){ .md-button } +[Download latest build](https://github.com/EnderIce2/rpc-bridge/releases/tag/nightly "Builds from the latest commits, here be dragons!"){ .md-button } Works by running a small program in the background that creates a [named pipe](https://learn.microsoft.com/en-us/windows/win32/ipc/named-pipes) `\\.\pipe\discord-ipc-0` inside the prefix and forwards all data to the pipe `/run/user/1000/discord-ipc-0`.