Set Version: 7.1.171 #1122
This file contains 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: 'Master Push' | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
gh-release: | |
name: 'Publish GitHub Prerelease' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Check out code' | |
uses: actions/checkout@v4 | |
- name: 'Publish prerelease' | |
env: | |
GITHUB_TOKEN: ${{ secrets.JENKINS_GITHUB_PAT }} | |
run: | | |
set -x | |
release_tag=v$(cat package/version) | |
echo "K Framework Release ${release_tag}" > release.md | |
echo '' >> release.md | |
cat k-distribution/INSTALL.md >> release.md | |
gh release create "${release_tag}" \ | |
--target "${GITHUB_SHA}" \ | |
--title "K Framework Release ${release_tag}" \ | |
--prerelease \ | |
--notes-file 'release.md' |