Skip to content

Commit a321b70

Browse files
authored
Remove old action.yml file and update release workflow (rust-lang#1881)
Remove old action file since it's in a new repo now. I also updated our release workflow to check the new repo instead of this old file.
1 parent cebc575 commit a321b70

File tree

2 files changed

+9
-26
lines changed

2 files changed

+9
-26
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ jobs:
1919
- name: Checkout code
2020
uses: actions/checkout@v2
2121

22+
- name: Check action code
23+
uses: actions/checkout@v2
24+
with:
25+
repository: model-checking/kani-github-action
26+
path: kani-action
27+
2228
- name: Get version
2329
run: |
2430
# pkgid is something like file:///home/ubuntu/kani#kani-verifier:0.1.0
@@ -37,8 +43,9 @@ jobs:
3743
exit 1
3844
fi
3945
# Check the action script's tag.
40-
if ! grep -F "image: docker://ghcr.io/model-checking/kani-ubuntu-20.04:${{ env.TAG_VERSION }}" action.yml; then
41-
echo "Git tag ${{env.TAG_VERSION}} did not match version in action.yml"
46+
if ! grep -F "KANI_VERSION=\"${{ env.TAG_VERSION }}" kani-action/action.yml; then
47+
echo "Git tag ${{env.TAG_VERSION}} did not match version in action.yml. Found:"
48+
grep -F "KANI_VERSION=" kani-action/action.yml
4249
exit 1;
4350
fi
4451

action.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)