Skip to content
Open
Show file tree
Hide file tree
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
16 changes: 16 additions & 0 deletions .github/workflows/build-release-nodejs-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,29 @@ jobs:
ARTIFACT_SIZE: ${{ steps.publish-artifact.outputs.artifact_size }}
BUILD_TOKEN: ${{ env.ACTION_TOKEN_BUILD }}
- name: Close intention
id: close-intention
if: ${{ success() && env.INTENTION_TOKEN != '' }}
uses: bcgov-nr/action-broker-intention-close@v3
with:
intention_token: ${{ env.INTENTION_TOKEN }}
- name: Close intention (Failure)
id: close-intention-failure
if: ${{ failure() && env.INTENTION_TOKEN != '' }}
uses: bcgov-nr/action-broker-intention-close@v3
with:
intention_token: ${{ env.INTENTION_TOKEN }}
outcome: failure
- name: Build summary
if: always()
run: |
echo "## Build Summary" >> $GITHUB_STEP_SUMMARY
echo "| Property | Value |" >> $GITHUB_STEP_SUMMARY
echo "|----------|-------|" >> $GITHUB_STEP_SUMMARY
echo "| Version | ${{ steps.set-version.outputs.project_version }} |" >> $GITHUB_STEP_SUMMARY
echo "| Size | ${{ steps.publish-artifact.outputs.artifact_size }} |" >> $GITHUB_STEP_SUMMARY
echo "| SHA256 | ${{ steps.publish-artifact.outputs.artifact_sha256 }} |" >> $GITHUB_STEP_SUMMARY
AUDIT_URL="${{ steps.close-intention.outputs.audit-url }}${{ steps.close-intention-failure.outputs.audit-url }}"
if [[ -n "$AUDIT_URL" ]]; then
echo "Audit: $AUDIT_URL" >> $GITHUB_STEP_SUMMARY
fi

1 change: 0 additions & 1 deletion .github/workflows/deploy-nodejs-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ jobs:
--data-urlencode "gitTag=${{ (startsWith(github.ref, 'refs/tags/') && github.ref_name) || '' }}" \
--data-urlencode "configBranch=${{ inputs.config_branch || '' }}" \
--data-urlencode "downloadUrl=${DOWNLOAD_URL}" \
--data-urlencode "downloadType=OCI" \
--data-urlencode "envLong=${{ inputs.environment }}" \
--data-urlencode "triggerUrl=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
--data-urlencode "deploymentApprover=${DEPLOYMENT_APPROVER}" \
Expand Down