Merge pull request #107 from guardian/ld/upgrade-11-after-dynamo-upgrade #99
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: push | |
jobs: | |
mobile-save-for-later-user-deletion-ci: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | |
aws-region: eu-west-1 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: corretto | |
cache: sbt | |
- name: Run Tests & Create Artifacts | |
run: sbt "project mobile-save-for-later-user-deletion" test assembly | |
- name: RiffRaff upload artifacts and upload cfn | |
uses: guardian/actions-riff-raff@v2 | |
with: | |
app: mobile-save-for-later-user-deletion | |
configPath: ./mobile-save-for-later-user-deletion/riff-raff.yaml | |
contentDirectories: | | |
mobile-save-for-later-user-deletion-cfn: | |
- ./mobile-save-for-later-user-deletion/conf/cfn.yaml | |
mobile-save-for-later-user-deletion: | |
- mobile-save-for-later-user-deletion/target/scala-2.12/mobile-save-for-later-user-deletion.jar |