Skip to content

Commit d37e08c

Browse files
authored
Added workflow for automated releases (#121)
* Added release workflow
1 parent ba56ed4 commit d37e08c

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/release.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
releaseVersion:
7+
description: "Version to use for the release."
8+
required: true
9+
default: "X.Y"
10+
releaseBody:
11+
description: "Information about the release"
12+
required: true
13+
default: "New release"
14+
jobs:
15+
Release:
16+
environment: Release
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
with:
21+
ref: main
22+
- name: Set up python
23+
uses: actions/setup-python@v5
24+
with:
25+
python-version: '3.11'
26+
- name: Build
27+
run: make compile-with-docker-all
28+
- name: Run Integ Tests
29+
run: |
30+
make tests-with-docker
31+
make integ-tests
32+
- name: Release
33+
uses: softprops/action-gh-release@v2
34+
with:
35+
name: Release ${{ github.event.inputs.releaseVersion }}
36+
tag_name: v${{ github.event.inputs.releaseVersion }}
37+
body: ${{ github.event.inputs.releaseBody }}
38+
files: |
39+
bin/aws-lambda-rie
40+
bin/aws-lambda-rie-arm64
41+
bin/aws-lambda-rie-x86_64

0 commit comments

Comments
 (0)