File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 4747 run : |
4848 mkdir -p ./build
4949 ASSET_PATTERN="api-oas-specification-${{ inputs.apimEnv }}-*.zip"
50- echo "Downloading assets matching $ASSET_PATTERN from release ${{ inputs.releaseVersion }}"
5150 gh release download "${{ inputs.releaseVersion }}" \
5251 --pattern "$ASSET_PATTERN" \
5352 --dir ./build
Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ name: Github Release Created
33on :
44 release :
55 types : ["published"] # Inherits all input defaults
6+ workflow_dispatch :
7+ inputs :
8+ release_tag :
9+ description : " Release tag to simulate (e.g., v1.0.0)"
10+ required : true
11+ type : string
612
713concurrency :
814 group : ${{ github.workflow }}-${{ github.ref }}
2733 APP_PEM_FILE : ${{ secrets.APP_PEM_FILE }}
2834 run : |
2935 bash .github/scripts/dispatch_internal_repo_workflow.sh \
30- --releaseVersion "${{ github.event.release.tag_name }}" \
36+ --releaseVersion "${{ inputs.release_tag }}" \
3137 --targetWorkflow "dispatch-deploy-static-notify-supplier-api-env.yaml" \
3238 --targetEnvironment "main" \
3339 --targetAccountGroup "nhs-notify-supplier-api-nonprod" \
5864 environment : " main"
5965 apimEnv : " int"
6066 runId : " ${{ github.run_id }}"
61- releaseVersion : " ${{ github.event.release.tag_name }}"
67+ releaseVersion : " ${{ inputs.release_tag }}"
6268 isRelease : true
You can’t perform that action at this time.
0 commit comments