Skip to content

Commit

Permalink
add release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter93 authored Sep 19, 2024
1 parent 1c15467 commit f93cb42
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/auto_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:
build:
runs-on: ubuntu-latest

container:
image: debian:bullseye

steps:
- uses: actions/checkout@v3

Expand All @@ -24,4 +21,26 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: Pre-Compiled Jumploaders
path: build/*.bin
path: build/*.bin

publish_release:
name: Publish (Release)
runs-on: ubuntu-latest

needs: [build]

if: startsWith(github.ref, 'refs/tags/')

steps:
- uses: actions/download-artifact@v3
with:
name: Pre-Compiled Jumploaders
path: build/

- uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: Release ${{ github.ref_name }}
files: build/*.bin
fail_on_unmatched_files: true

0 comments on commit f93cb42

Please sign in to comment.