Skip to content

Commit d11f6d1

Browse files
authored
Merge pull request #34 from factorhouse/deploy-jar-rc
Deploy JAR on RC release
2 parents 1226baa + 533a6b6 commit d11f6d1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/release_rc.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
- name: Verify RC version input
1818
run: |
1919
./scripts/rc_release_check.sh ${{github.event.inputs.version}}
20+
- name: Configure AWS Credentials (OIDC)
21+
uses: aws-actions/configure-aws-credentials@v1
22+
with:
23+
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
24+
aws-region: us-east-1
2025
- name: Login to DockerHub
2126
uses: docker/login-action@v3
2227
with:
@@ -25,6 +30,16 @@ jobs:
2530
- name: Download and verify JAR(s)
2631
run: |
2732
./scripts/jar.sh "${{github.event.inputs.manifest}}"
33+
- name: Release Kpow JDK11 JAR
34+
run: |
35+
VERSION=${{github.event.inputs.version}}
36+
VERSION="${VERSION//./-}"
37+
aws s3 cp target/kpow-java11-standalone.jar s3://${{ secrets.RELEASES_BUCKET }}/kpow-$VERSION-java11.jar
38+
- name: Release Kpow JDK8 JAR
39+
run: |
40+
VERSION=${{github.event.inputs.version}}
41+
VERSION="${VERSION//./-}"
42+
aws s3 cp target/kpow-java8-standalone.jar s3://${{ secrets.RELEASES_BUCKET }}/kpow-$VERSION-java8.jar
2843
-
2944
# Add support for more platforms with QEMU (optional)
3045
# https://github.com/docker/setup-qemu-action

0 commit comments

Comments
 (0)