Skip to content

Commit a4dd3bb

Browse files
authored
1 parent 0fbf150 commit a4dd3bb

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/builder.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@ jobs:
3535
java-version: 17
3636
distribution: temurin
3737
cache: maven
38+
- name: Configure AWS Credentials
39+
uses: aws-actions/configure-aws-credentials@v4
40+
with:
41+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
42+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
43+
aws-region: 'us-east-1'
44+
- name: Get Secrets
45+
uses: aws-actions/aws-secretsmanager-get-secrets@v2
46+
with:
47+
secret-ids: |
48+
HZ_LICENSE_KEY,CN/HZ_LICENSE_KEY
3849
- name: Build and test
3950
run: |
4051
${RUNNER_DEBUG:+set -x}
@@ -43,5 +54,5 @@ jobs:
4354
--errors \
4455
--no-transfer-progress \
4556
${RUNNER_DEBUG:+--show-version} \
46-
"-Dhazelcast.enterprise.license.key=${{ secrets.HAZELCAST_ENTERPRISE_KEY_V7 }}" \
57+
"-Dhazelcast.enterprise.license.key=${HZ_LICENSE_KEY}" \
4758
verify

0 commit comments

Comments
 (0)