-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: replace action with reusable workflows #7282
base: master
Are you sure you want to change the base?
Conversation
token: ${{ secrets.NOIR_REPO_TOKEN }} | ||
# Omitting a tag results in a nightly | ||
inputs: "{ \"publish\": true }" | ||
public-nargo: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public-nargo: | |
publish-nargo: |
workflow: publish-es-packages.yml | ||
token: ${{ secrets.NOIR_REPO_TOKEN }} | ||
inputs: "{ \"noir-ref\": \"${{ env.GITHUB_REF }}\", \"npm-tag\": \"nightly\" }" | ||
public-js-packages: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public-js-packages: | |
publish-js-packages: |
ref: master | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
inputs: '{ "tag": "${{ needs.release-please.outputs.tag-name }}", "publish": true }' | ||
uses: noir-lang/noir/.github/workflows/publish-nargo.yml@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this pinned to master
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might be misunderstanding it: it looks like the release
workflow only runs on master, and while previously we dispatched via the API, which required to tell which branch to run the publish workflow on, now we call it inside the workflow, so it will run on the same branch as the release workflow itself.
With @master
, would it just pull the workflow definition from master
and apply it to whatever branch this workflow is running on, or would master
apply to the jobs in the publish-nargo.yml
workflow itself?
Description
Problem*
Resolves
Summary*
Additional Context
Documentation*
Check one:
PR Checklist*
cargo fmt
on default settings.