Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrosop committed Aug 29, 2024
1 parent 9e4abd9 commit 95044a1
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/wf_build_artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,12 @@ jobs:
- name: "Verify if we need to build"
id: verify-build
run: |
export drvPath=$(make check-dry-run-go)
export drvPath=$(make check-dry-run)
echo "drvPath - $drvPath"
nix store verify --no-trust --store http://127.0.0.1:37515 $drvPath \
&& export BUILD_NEEDED=no \
|| export BUILD_NEEDED=yes
if [ "$BUILD_NEEDED" != "yes" ]; then
export check_dry_run_output=$(make check-dry-run-node)
export drvPath=$(echo "$check_dry_run_output" | grep -oE '"out":.*"' | awk -F\" '{ print $4 }')
nix store verify --no-trust --store http://127.0.0.1:37515 $drvPath \
&& export BUILD_NEEDED=no \
|| export BUILD_NEEDED=yes
fi
echo BUILD_NEEDED=$BUILD_NEEDED >> $GITHUB_OUTPUT
echo DERIVATION_PATH=$drvPath >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 95044a1

Please sign in to comment.