File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ workflow_dispatch :
3+ inputs :
4+ release_tag :
5+ type : string
6+ required : true
7+
8+ name : Create Release
9+ jobs :
10+ build :
11+ uses : ./.github/workflows/main.yml
12+ secrets : inherit
13+ upload :
14+ name : Upload Release Asset
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Save the Cloud Pod
18+ uses : HarshCasper/cloud-pod-save-action@0.1.0
19+ with :
20+ name : ' release-pod.zip'
21+ location : ' disk'
22+ directory : ' .'
23+ - name : Build project # This would actually build your project, using zip for an example artifact
24+ run : |
25+ echo "Cloudpod Release Version ${{ inputs.release_tag }}" > Release.txt
26+ - name : Create Release
27+ id : create_release
28+ uses : softprops/action-gh-release@v1
29+ with :
30+ tag_name : " v-${{ inputs.release_tag }}"
31+ name : " Cloudpod for LocalStack release ${{ inputs.release_tag }}"
32+ body : " Test Release ${{ inputs.release_tag }}"
33+ files : |
34+ ./release-pod.zip
35+ Release.txt
You can’t perform that action at this time.
0 commit comments