Skip to content

Commit

Permalink
Merge pull request #219 from threshold-network/fix-manual-deployment
Browse files Browse the repository at this point in the history
Fix condition for executing step getting upstream builds

We were using wrong input to determine if the `Get upstream packages versions`
step should be run. The `upstreamBuilds` is not boolean, we should have been
using `useUpstreamBuilds` instead.

Previous implementation was resulting in incorrect resolving of the versions,
see command in `Resolve contracts` step in
https://github.com/threshold-network/token-dashboard/actions/runs/3157088578/jobs/5137628670.
  • Loading branch information
r-czajkowski authored Sep 30, 2022
2 parents 2fbc244 + c99cf07 commit 993d09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
run: yarn install --frozen-lockfile

- name: Get upstream packages versions
if: inputs.upstreamBuilds == true
if: inputs.useUpstreamBuilds == true
uses: keep-network/ci/actions/upstream-builds-query@v2
id: upstream-builds-query
with:
Expand Down

0 comments on commit 993d09b

Please sign in to comment.