This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
deps/k_release: Set Version 6.3.82 #885
Workflow file for this run
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: 'Update Version' | |
on: | |
push: | |
branches: | |
- '_update-deps/runtimeverification/k' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
update-versions: | |
name: 'Update K Version' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Check out code' | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
token: ${{ secrets.JENKINS_GITHUB_PAT }} | |
- name: 'Configure GitHub user' | |
run: | | |
git config user.name devops | |
git config user.email [email protected] | |
- name: 'Update K version' | |
run: | | |
K_VERSION=$(cat deps/k_release) | |
sed --in-place "s/^K_VERSION: Final = '.*'$/K_VERSION: Final = '${K_VERSION}'/" src/pyk/__init__.py | |
git add --update && git commit -m "Set K Version: ${K_VERSION}" || true | |
- name: 'Push updates' | |
run: git push |