diff --git a/.github/workflows/release_rc.yml b/.github/workflows/release_rc.yml index 7a358a3..57a4f5c 100644 --- a/.github/workflows/release_rc.yml +++ b/.github/workflows/release_rc.yml @@ -17,6 +17,11 @@ jobs: - name: Verify RC version input run: | ./scripts/rc_release_check.sh ${{github.event.inputs.version}} + - name: Configure AWS Credentials (OIDC) + uses: aws-actions/configure-aws-credentials@v1 + with: + role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} + aws-region: us-east-1 - name: Login to DockerHub uses: docker/login-action@v3 with: @@ -25,6 +30,16 @@ jobs: - name: Download and verify JAR(s) run: | ./scripts/jar.sh "${{github.event.inputs.manifest}}" + - name: Release Kpow JDK11 JAR + run: | + VERSION=${{github.event.inputs.version}} + VERSION="${VERSION//./-}" + aws s3 cp target/kpow-java11-standalone.jar s3://${{ secrets.RELEASES_BUCKET }}/kpow-$VERSION-java11.jar + - name: Release Kpow JDK8 JAR + run: | + VERSION=${{github.event.inputs.version}} + VERSION="${VERSION//./-}" + aws s3 cp target/kpow-java8-standalone.jar s3://${{ secrets.RELEASES_BUCKET }}/kpow-$VERSION-java8.jar - # Add support for more platforms with QEMU (optional) # https://github.com/docker/setup-qemu-action