Skip to content

Commit 1442fe3

Browse files
committed
test removed creds
Signed-off-by: Arjun Raja Yogidas <[email protected]>
1 parent 3ea0984 commit 1442fe3

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/release-automation.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: 'Get the latest tag'
2323
id: latest-tag
2424
uses: "WyriHaximus/github-action-get-previous-tag@04e8485ecb6487243907e330d522ff60f02283ce" # v1.4.0
25-
25+
2626
upload-release-definition-to-s3:
2727
needs:
2828
- get-latest-tag
@@ -34,9 +34,9 @@ jobs:
3434
- name: Configure AWS credentials
3535
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 # v5.0.0
3636
with:
37-
role-to-assume: ${{ secrets.TOOLBOX_TRIGGER_ROLE }}
37+
role-to-assume: ${{ vars.AWS_RELEASE_TRIGGER_ROLE }}
3838
role-session-name: upload-release-definition-to-s3
39-
aws-region: ${{ secrets.TOOLBOX_TRIGGER_REGION }}
39+
aws-region: ${{ vars.AWS_RELEASE_TRIGGER_REGION }}
4040

4141
- name: Create and upload release definition to S3
4242
run: |
@@ -47,9 +47,7 @@ jobs:
4747
# Create release definition JSON file
4848
cat > "release-def-${VERSION_NO_V}.json" << EOF
4949
{
50-
"tag_name": "${{ needs.get-latest-tag.outputs.tag }}",
51-
"source_s3uri": "s3://finch-installer-private/",
52-
"source_access_role": "arn:aws:iam::090529234398:role/BundlerRole",
50+
"tag_name": "${VERSION}",
5351
"assets": [
5452
{
5553
"name": "Finch-${{ needs.get-latest-tag.outputs.tag }}-aarch64.pkg",
@@ -66,4 +64,4 @@ jobs:
6664
EOF
6765
6866
# Upload to S3
69-
aws s3 cp "release-def-${VERSION_NO_V}.json" s3://${{ secrets.TOOLBOX_TRIGGER_BUCKET }}/manifest/release-def-${VERSION_NO_V}.json --content-type "application/json"
67+
aws s3 cp "release-def-${VERSION_NO_V}.json" s3://${{ vars.AWS_RELEASE_TRIGGER_BUCKET }}/manifest/release-def-${VERSION_NO_V}.json --content-type "application/json"

0 commit comments

Comments
 (0)