Skip to content
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

fix(gha): release verification #733

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 20 additions & 13 deletions .github/workflows/cd.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
-
name: Release Please Outputs
if: steps.release-please.outcome == 'success'
run: |
echo ${{ steps.release-please.outputs }}
-
name: Dispatch Edge Build
# Run this step only if the release-please completes successfully
Expand All @@ -40,17 +45,19 @@ jobs:
"sha": "${{ steps.release-please.outputs.sha }}"
}
-
name: Dispatch Release Build
name: Dispatch Skaha Release Build
# Run this step only if the release-please completes successfully
if: ${{ steps.release-please.outputs.releases_created }}
uses: peter-evans/[email protected]
with:
repository: opencadc/science-platform
event-type: release-build
token: ${{ secrets.GITHUB_TOKEN }}
client-payload: |-
{
"releases_created": "${{ steps.release-please.outputs.releases_created }}",
"tag_name": "${{ steps.release-please.outputs.tag_name }}",
"sha": "${{ steps.release-please.outputs.sha }}"
}
if: ${{ steps.release-please.outputs.releases_created == 'true' }}
run: |
echo "Release Build currently Disabled"
# uses: peter-evans/[email protected]
# with:
# repository: opencadc/science-platform
# event-type: release-build
# token: ${{ secrets.GITHUB_TOKEN }}
# client-payload: |-
# {
# "releases_created": "${{ steps.release-please.outputs.releases_created }}",
# "tag_name": "${{ steps.release-please.outputs.tag_name }}",
# "sha": "${{ steps.release-please.outputs.sha }}"
# }