Skip to content

Commit

Permalink
try correcting hash build materials bash arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sgvictorino committed Dec 17, 2021
1 parent 047e7da commit c916482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:

jobs:
build:
runs-on: windows-latest
runs-on: windows-2022

strategy:
matrix:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- name: List changed files
run: git status -u --porcelain
- name: Hash build materials
run: bash -c "tar -cf /tmp/edge-js-build-materials $(find . -type f -regextype posix-egrep -regex '^\.\/((((src)|(lib\/bootstrap))\/.*)|(((binding\.gyp)|(EdgeJs\.sln))))$') && shasum -a 1 /tmp/build-materials >> lib/native/last-native-module-build-materials.txt"
run: bash --login -eo pipefail "tar -cf /tmp/edge-js-build-materials $(find . -type f -regextype posix-egrep -regex '^\.\/((((src)|(lib\/bootstrap))\/.*)|(((binding\.gyp)|(EdgeJs\.sln))))$') && shasum -a 1 /tmp/build-materials >> lib/native/last-native-module-build-materials.txt"
- name: Check if build materials changed
run: git diff --exit-code lib\native\last-native-module-build-materials.txt && echo "BUILD_MATERIALS_CHANGED=true" | Out-File -FilePath $Env:GITHUB_ENV -Append
- name: Upload working directory as artifact
Expand Down

0 comments on commit c916482

Please sign in to comment.