Skip to content

Commit

Permalink
Merge pull request #485 from nerdcash/touch-ups
Browse files Browse the repository at this point in the history
More workflow touch-ups
  • Loading branch information
AArnott authored Jan 9, 2025
2 parents 6b6a054 + 2d4b721 commit 0bd3ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nerdbank-zcash-rust/Generate-3rdPartyNotices.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Push-Location $PSScriptRoot

cargo binstall -y cargo-bundle-licenses --version 2.0.0 --locked
cargo binstall -y cargo-bundle-licenses --version 2.0.0 --locked --force

New-Item -Type Directory -Path $PSScriptRoot/../../obj/src/nerdbank-zcash-rust | Out-Null
cargo tree -f "{p} {l}" -e normal | Out-File -Encoding UTF8 -FilePath "$PSScriptRoot/../../obj/src/nerdbank-zcash-rust/THIRD_PARTY_DEPENDENCIES.txt"
Expand Down
2 changes: 1 addition & 1 deletion src/nerdbank-zcash-rust/generate_cs_bindings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Replace-LibName $outDir\LightWallet.iOS.cs '@rpath/nerdbank_zcash_rust.framework

# If we're in CI and this changed the bindings, someone failed to commit the changes earlier.
# We should fail the build in that case.
if ($env:TF_BUILD) {
if ($env:TF_BUILD -or $env:GITHUB_ACTIONS) {
git diff --exit-code $outDir
if ($LASTEXITCODE -ne 0) {
throw "Bindings changed. Please run this script locally and commit the changes before submitting."
Expand Down

0 comments on commit 0bd3ed2

Please sign in to comment.