-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update build workflow bicep #45
Update build workflow bicep #45
Conversation
64c0c97
to
58a4d7d
Compare
58a4d7d
to
be1c636
Compare
- name: Publish bicep types | ||
if: github.repository == 'radius-project/bicep-types-aws' && ((startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')) | ||
run: | | ||
bicep publish-provider ./artifacts/bicep/index.json --target br:${{ env.BICEP_TYPES_REGISTRY }}/aws:${{ env.REL_VERSION == 'edge' && 'latest' || env.REL_VERSION }} --force | ||
update-types: |
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.
not part of this PR but i'm seeing that 'set-output' on line 103, 104 is deprecated.
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
maybe we can update it in this or another PR
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.
Good catch, this will eventually be deleted but I updated it for now so the workflow runs fine
pls check all checks go through. thanks! |
cc183e1
to
8771db2
Compare
Tested this through a PR to main first and the tests passed. Will also be tested as part of this larger PR: #43 |
8771db2
to
b0eacb4
Compare
be2dbe1
to
b2b2f3d
Compare
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
Signed-off-by: sk593 <[email protected]>
b2b2f3d
to
47ad11c
Compare
update-types: | ||
if: github.event_name == 'pull_request' && github.base_ref == 'main' |
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.
Updated so this only runs on pulls from main. We don't want this running on pushes
* update workflows --------- Signed-off-by: sk593 <[email protected]>
* update workflows --------- Signed-off-by: sk593 <[email protected]>
* update workflows --------- Signed-off-by: sk593 <[email protected]>
* Update aws generator to use bicep-types and new contract (#40) * updating aws generator to use bicep-types and new contract --------- Signed-off-by: sk593 <[email protected]> * Update build and publish workflow bicep (#45) * update workflows --------- Signed-off-by: sk593 <[email protected]> * Update publish trigger during releases (#47) * update to trigger workflow on release Signed-off-by: sk593 <[email protected]> * update to push to acr on tag creation Signed-off-by: sk593 <[email protected]> * update workflow Signed-off-by: sk593 <[email protected]> --------- Signed-off-by: sk593 <[email protected]> --------- Signed-off-by: sk593 <[email protected]>
No description provided.