From 76113df5a9fbc4e01a9bb693f028b01e8267a9d5 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Fri, 13 Jun 2025 13:01:32 +0000 Subject: [PATCH] ci: upload nightly builds to GitHub Releases --- .github/workflows/makefile.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 703a13e0..76ee0371 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -137,6 +137,7 @@ jobs: sudo touch /tmp/.Xauthority sudo touch /run/user/1000/pulse/native echo "XAUTHORITY=/tmp/.Xauthority" >> $GITHUB_ENV + sudo apt install x11-xserver-utils - name: Build AMD64 Debug if: always() @@ -205,5 +206,21 @@ jobs: if: always() uses: actions/upload-artifact@v4 with: - name: Fennix + name: artifacts path: artifacts/ + + nightly: + name: Upload Nightly Build to GitHub Releases + runs-on: ubuntu-latest + needs: [compile] + 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 artifacts/* -R ${{github.repository}} --clobber