Skip to content

Commit 5d44301

Browse files
committed
initial test
1 parent 2f5bde9 commit 5d44301

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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

0 commit comments

Comments
 (0)