From 5cdda70c69297518fe2ebf55c349c98ef9157b1b Mon Sep 17 00:00:00 2001 From: Mateusz Faderewski Date: Sun, 27 Aug 2023 18:44:50 +0200 Subject: [PATCH] Changed rolling release GitHub action --- .github/workflows/build.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2a577fe..ff53f62f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,14 +68,20 @@ jobs: name: SC64 path: ./output/sc64menu.n64 - - name: Upload rolling release - uses: marvinpinto/action-automatic-releases@v1.2.1 + - name: Delete rolling-release tag and release + uses: dev-drprasad/delete-tag-and-release@v1.0 if: github.ref == 'refs/heads/main' with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: rolling-release - prerelease: false - title: Rolling release + github_token: ${{ secrets.GITHUB_TOKEN }} + tag_name: rolling-release + + - name: Upload rolling release + uses: softprops/action-gh-release@v0.1.15 + if: github.ref == 'refs/heads/main' + with: + name: Rolling release + body: Rolling release built from latest commit on `main` branch. + tag_name: rolling-release files: | ./output/N64FlashcartMenu.n64 ./output/menu.bin