Skip to content

Commit

Permalink
Merge pull request #173 from guardian/ash/actions-v4
Browse files Browse the repository at this point in the history
Bump `actions-riff-raff` to V4
  • Loading branch information
AshCorr authored Feb 23, 2024
2 parents 2f6b6c8 + 599db83 commit 423a2f2
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,15 @@ jobs:
runs-on: ubuntu-latest
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
permissions:
# required by aws-actions/configure-aws-credentials
# required by actions-riff-raff@v4
id-token: write
contents: read
pull-requests: write

steps:
- name: Checkout repo
uses: actions/checkout@v3

# Setup AWS credentials to enable uploading to S3 for Riff-Raff.
# See https://github.com/aws-actions/configure-aws-credentials
- name: Setup aws credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
aws-region: eu-west-1

# Configuring caching is also recommended.
# See https://github.com/actions/setup-java
- name: Setup Java 11
Expand All @@ -43,9 +36,11 @@ jobs:
./script/ci
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v2
uses: guardian/actions-riff-raff@v4
with:
app: anghammarad
roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
configPath: anghammarad/riff-raff.yaml
projectName: tools::anghammarad
buildNumberOffset: 250
Expand Down

0 comments on commit 423a2f2

Please sign in to comment.