diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-05 22:14:42 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-05 22:30:20 +0100 |
| commit | 1053fcbb6d3d97ed7e32bc39ae604911a0c88818 (patch) | |
| tree | 56961e03a3c88a5586e6f9ab4a19c0b3348c9cde /.github/workflows | |
| parent | ccc6956983ddcf171c60e0f7bee3d10beae47492 (diff) | |
| download | jetpac.nes-1053fcbb6d3d97ed7e32bc39ae604911a0c88818.tar.gz jetpac.nes-1053fcbb6d3d97ed7e32bc39ae604911a0c88818.zip | |
ci: automatically produce a release file
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 19 |
1 files changed, 18 insertions, 1 deletions
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 }} |
