Last active
December 13, 2025 14:37
-
-
Save sugoidogo/bf02b2dbb15d972185d4cbe41c7ab129 to your computer and use it in GitHub Desktop.
simple automated test, build, and release using github actions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - "*" | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - run: test | |
| - run: build | |
| - run: git log $(git describe --tags --abbrev=0 HEAD~1)..HEAD --oneline > changelog.txt | |
| - uses: softprops/action-gh-release@v2 | |
| with: | |
| make_latest: true | |
| body_path: changelog.txt | |
| files: snapback |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment