From 1053fcbb6d3d97ed7e32bc39ae604911a0c88818 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 5 Mar 2026 22:14:42 +0100 Subject: ci: automatically produce a release file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- .github/workflows/build.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4de3241..dcd6054 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: build +name: Continuous build and release on: push: @@ -6,6 +6,9 @@ on: pull_request: branches: [main] +permissions: + contents: write + jobs: test: name: Continuous Integration @@ -30,3 +33,17 @@ jobs: - name: Main task run: V=1 make all + + - name: Update releases page + uses: softprops/action-gh-release@v2 + with: + tag_name: latest + name: Continuous Build + files: out/*.nes + body: | + This release was automatically generated from commit ${{github.sha}}. + draft: false + prerelease: true + make_latest: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -- cgit v1.2.3