Skip to content

Commit

Permalink
Merge pull request #34 from factorhouse/deploy-jar-rc
Browse files Browse the repository at this point in the history
Deploy JAR on RC release
  • Loading branch information
wavejumper authored Nov 13, 2024
2 parents 1226baa + 533a6b6 commit d11f6d1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release_rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit d11f6d1

Please sign in to comment.