Skip to content

Commit

Permalink
Patch Actions PR. (#1649)
Browse files Browse the repository at this point in the history
* No longer use variables for locating the action.

* Modified path.

* Turned off action check until image is released to public.

This will fail with permissions issue until then.
  • Loading branch information
YoshikiTakashima authored Sep 9, 2022
1 parent 191a3f7 commit 0fa9ee3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ jobs:
org.opencontainers.image.version=${{ needs.Release.outputs.version }}
org.opencontainers.image.licenses=Apache-2.0 OR MIT
- name: Check action and image is updated.
uses: ${{ env.OWNER_LC }}/kani@${{ needs.Release.outputs.version }}
with:
command: |
[[ "$(cargo kani --version)" == 'cargo-kani ${{ needs.Release.outputs.version }}' ]]
# This check will not work until #1655 is completed.
# - name: Check action and image is updated.
# uses: ./.
# with:
# command: |
# [[ "$(cargo kani --version)" == 'cargo-kani ${{ needs.Release.outputs.version }}' ]]
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ runs:
args:
- bash
- '-c'
- 'set -e; export HOME=/root USER=$(id -nu); source $HOME/.bashrc; ${{ inputs.command }}'
- 'set -e; export HOME=/root USER=$(id -nu) PATH=/root/.cargo/bin:$PATH; source $HOME/.bashrc; ${{ inputs.command }}'

0 comments on commit 0fa9ee3

Please sign in to comment.