Skip to content

Commit 0fa9ee3

Browse files
author
Yoshiki Takashima
authored
Patch Actions PR. (rust-lang#1649)
* 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.
1 parent 191a3f7 commit 0fa9ee3

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,9 @@ jobs:
144144
org.opencontainers.image.version=${{ needs.Release.outputs.version }}
145145
org.opencontainers.image.licenses=Apache-2.0 OR MIT
146146
147-
- name: Check action and image is updated.
148-
uses: ${{ env.OWNER_LC }}/kani@${{ needs.Release.outputs.version }}
149-
with:
150-
command: |
151-
[[ "$(cargo kani --version)" == 'cargo-kani ${{ needs.Release.outputs.version }}' ]]
147+
# This check will not work until #1655 is completed.
148+
# - name: Check action and image is updated.
149+
# uses: ./.
150+
# with:
151+
# command: |
152+
# [[ "$(cargo kani --version)" == 'cargo-kani ${{ needs.Release.outputs.version }}' ]]

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ runs:
2121
args:
2222
- bash
2323
- '-c'
24-
- 'set -e; export HOME=/root USER=$(id -nu); source $HOME/.bashrc; ${{ inputs.command }}'
24+
- 'set -e; export HOME=/root USER=$(id -nu) PATH=/root/.cargo/bin:$PATH; source $HOME/.bashrc; ${{ inputs.command }}'

0 commit comments

Comments
 (0)