Skip to content

Added release workflow #1

Added release workflow

Added release workflow #1

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
releaseVersion:
description: "Version to use for the release."
required: true
default: "X.Y.Z"
developmentVersion:
description: "Version to use for further development"
required: true
default: "X.Y.Z-RIE"
jobs:
release:
environment: release
runs-on: ubuntu-latest
steps:
# - uses: actions/checkout@v3 #in SnapStart but moved to below
- name: Configure Git User # may be removed after https://github.com/actions/checkout/issues/13 is resolved
uses: actions/checkout@v3
run: |
git config user.email "${{ github.actor }}@users.noreply.github.com"
git config user.name "${{ github.actor }}"
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: make compile-with-docker-all
# run: echo ${{ github.sha }} > Release.txt
# - name: Test
# run: cat Release.txt
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
aws-lambda-rie
aws-lambda-rie-arm64
aws-lambda-rie-x64
# --------
# Add a step to upload each binary asset
# - name: Upload aws-lambda-rie
# uses: actions/upload-artifact@v2
# with:
# name: aws-lambda-rie
# path: /path/to/aws-lambda-rie
# - name: Upload aws-lambda-rie-arm64
# uses: actions/upload-artifact@v2
# with:
# name: aws-lambda-rie-arm64
# path: /path/to/aws-lambda-rie-arm64
# - name: Upload aws-lambda-rie-x64
# uses: actions/upload-artifact@v2
# with:
# name: aws-lambda-rie-x64
# path: /path/to/aws-lambda-rie-x64