Added rolling release

This commit is contained in:
Mateusz Faderewski 2023-08-25 22:23:25 +02:00
parent 7797f74c0b
commit 4eeb00e3ac

View File

@ -11,6 +11,8 @@ on:
jobs: jobs:
build-menu: build-menu:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -68,6 +70,19 @@ jobs:
name: SC64 name: SC64
path: ./output/sc64menu.n64 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: generate-docs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
@ -87,13 +102,3 @@ jobs:
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output/docs 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."