Skip to content

Commit

Permalink
fix: allow force release for infra
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Jun 11, 2024
1 parent 769d84c commit 8a32271
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
type: boolean
description: release packages/core even if it normally wouldn't (e.g. due to release-please checks)
default: false
force_release_infra:
type: boolean
description: release packages/infra even if it normally wouldn't (e.g. due to release-please checks)
default: false

jobs:
release:
Expand Down Expand Up @@ -82,7 +86,7 @@ jobs:
npm-infra:
name: npm publish @web3-storage/content-claims-infra
needs: release
if: contains(fromJson(needs.release.outputs.paths_released), 'packages/infra') || inputs.force_release_cli
if: contains(fromJson(needs.release.outputs.paths_released), 'packages/infra') || inputs.force_release_infra
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down

0 comments on commit 8a32271

Please sign in to comment.