From c985b4e266528e42479a6f0d1ddb68841ad1fa72 Mon Sep 17 00:00:00 2001 From: Visual Ehrmanntraut <30368284+VisualEhrmanntraut@users.noreply.github.com> Date: Fri, 8 Nov 2024 18:01:26 +0200 Subject: [PATCH] build: Remove nightly release I have a feeling that it's giving users the feeling like they'd be able to get notified of new nightly builds, which doesn't happen. Use GitHub Actions to download nightly builds like before. --- .github/workflows/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f4b5867c..d73452d5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,14 +28,12 @@ jobs: path: build/*/*.zip - name: Upload build uses: svenstaro/upload-release-action@2.9.0 - if: github.event_name != 'pull_request' + if: github.event_name == 'release' with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: build/*/*.zip - tag: ${{ github.event_name == 'release' && github.ref || 'nightly' }} - body: ${{ github.event_name != 'release' && github.event.head_commit.message || '' }} + tag: ${{ github.ref }} file_glob: true - prerelease: ${{ github.event_name != 'release' }} overwrite: true analyse-clang: