From 4eeb00e3aceb423785e5fffbafcfb338d60c75a5 Mon Sep 17 00:00:00 2001 From: Mateusz Faderewski Date: Fri, 25 Aug 2023 22:23:25 +0200 Subject: [PATCH] Added rolling release --- .github/workflows/build.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d68a28a..5863ff2f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,8 @@ on: jobs: build-menu: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v3 @@ -68,6 +70,19 @@ jobs: name: SC64 path: ./output/sc64menu.n64 + - name: Upload rolling release + uses: softprops/action-gh-release@v0.1.15 + if: github.ref == 'refs/heads/main' + with: + name: Rolling release + body: Latest rolling release built from latest commit on `main` branch. + prerelease: true + files: | + ./output/menu.bin + ./output/OS64.v64 + ./output/OS64P.v64 + ./output/sc64menu.n64 + generate-docs: runs-on: ubuntu-latest permissions: @@ -87,13 +102,3 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./output/docs - -# release-sc64-menu: -# runs-on: ubuntu-latest -# needs: minify-sc64-menu - -# steps: -# - name: Generate release -# if: github.event_name == 'release' && github.event.action == 'created' -# run: | -# echo "still release preview. Check actions for build assets."