Skip to content

Commit

Permalink
test: add multi arch grep
Browse files Browse the repository at this point in the history
  • Loading branch information
KnisterPeter authored and github-actions committed Jan 2, 2023
1 parent 5085552 commit f032a66
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/runner/testdata/path-handling/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
node-version: 18
- name: test path (after setup)
run: |
if ! echo "$PATH" |grep "/opt/hostedtoolcache/node/18.*/x64/bin" ; then
echo "Node binaries not in path"
if ! echo "$PATH" |grep "/opt/hostedtoolcache/node/18.*/\(x64\|arm64\)/bin" ; then
echo "Node binaries not in path: $PATH"
exit 1
fi
Expand All @@ -21,8 +21,8 @@ jobs:

- name: test path (after local action)
run: |
if ! echo "$PATH" |grep "/opt/hostedtoolcache/node/18.*/x64/bin" ; then
echo "Node binaries not in path"
if ! echo "$PATH" |grep "/opt/hostedtoolcache/node/18.*/\(x64\|arm64\)/bin" ; then
echo "Node binaries not in path: $PATH"
exit 1
fi
Expand All @@ -32,7 +32,7 @@ jobs:

- name: test path (after remote action)
run: |
if ! echo "$PATH" |grep "/opt/hostedtoolcache/node/18.*/x64/bin" ; then
if ! echo "$PATH" |grep "/opt/hostedtoolcache/node/18.*/\(x64\|arm64\)/bin" ; then
echo "Node binaries not in path: $PATH"
exit 1
fi

0 comments on commit f032a66

Please sign in to comment.