Skip to content

Commit

Permalink
Skip duplicate contract builds
Browse files Browse the repository at this point in the history
  • Loading branch information
octol committed Oct 3, 2023
1 parent 1e3acba commit fa33ab7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
strategy:
fail-fast: false
matrix: ${{fromJson(needs.matrix_prep.outputs.matrix)}}
# a push event from the origin repo, or a PR from external repo
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'nymtech/nym' }}
steps:
- uses: actions/checkout@v2

Expand Down
2 changes: 1 addition & 1 deletion contracts/mixnet/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ fn main() {
// If we don't have access to git information, such as in a docs.rs build, don't error
*config.git_mut().skip_if_error_mut() = true;
}
vergen(config).expect("failed to extract build metadata");
vergen(config).expect("foo to extract build metadata");
}

0 comments on commit fa33ab7

Please sign in to comment.