File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Notify Integration Release (Manual )
1+ name : Notify Integration Release (Tag )
22on :
3- workflow_dispatch :
4- inputs :
5- version :
6- description : " The release version (semver)"
7- default : 0.0.1
8- required : false
9- branch :
10- description : " A branch or SHA"
11- default : ' main'
12- required : false
3+ push :
4+ tags :
5+ - ' *.*.*' # Proper releases
6+ - ' *.*.*-*' # Pre releases
137jobs :
148 notify-release :
159 runs-on : ubuntu-latest
1610 steps :
1711 - name : Checkout this repo
1812 uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
1913 with :
20- ref : ${{ github.event.inputs.branch }}
14+ ref : ${{ github.ref }}
2115 # Ensure that Docs are Compiled
2216 - uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
2317 - shell : bash
4034 - name : Notify Release
4135 uses : ./integration-release-action
4236 with :
43- integration_identifier : " packer/hashicorp/tencentcloud"
44- release_version : ${{ github.event.inputs.version }}
45- release_sha : ${{ github.event.inputs.branch }}
37+ integration_identifier : ' packer/hashicorp/tencentcloud'
38+ release_version : ${{ github.ref_name }}
39+ release_sha : ${{ github.ref }}
4640 github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments