diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7f0b7f9..32e878d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,31 +7,34 @@ on: description: "Version to use for the release." required: true default: "X.Y" - # developmentVersion: #this could be the release notes?? - # description: "Version to use for further development" - # required: true - # default: "X.Y.Z-RIE" + releaseBody: + description: "Information about the release" + required: true + default: "New release" jobs: Release: environment: Release runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - # with: - # ref: 'main' + with: + ref: main - name: Set up python uses: actions/setup-python@v5 with: python-version: '3.11' - name: Build run: make compile-with-docker-all - - name: Run Tests - run: | # have to set up python? + - name: Run Integ Tests + run: | make tests-with-docker + make integ-tests - name: Release uses: softprops/action-gh-release@v2 with: + name: Release ${{ github.event.inputs.releaseVersion }} tag_name: v${{ github.event.inputs.releaseVersion }} + body: ${{ github.event.inputs.releaseBody }} files: | bin/aws-lambda-rie bin/aws-lambda-rie-arm64