Skip to content

Release

Release #18

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
releaseVersion:
description: "Version to use for the release."
required: true
default: "X.Y"
releaseBody:
description: "Information about the release"
required: true
default: "New release"
permissions:
contents: write
jobs:
Release:
environment: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: main
- name: Set up python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Build
run: make compile-with-docker-all
- name: Run Integ Tests
run: |
make tests-with-docker
make integ-tests
- name: Release
run: |
gh release create "v${RELEASE_VERSION}" \
--title "Release ${RELEASE_VERSION}" \
--notes "${RELEASE_BODY}" \
bin/aws-lambda-rie \
bin/aws-lambda-rie-arm64 \
bin/aws-lambda-rie-x86_64
env:
GH_TOKEN: ${{ github.token }}
RELEASE_VERSION: ${{ github.event.inputs.releaseVersion }}
RELEASE_BODY: ${{ github.event.inputs.releaseBody }}