diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 53da94f71569..0668a2e5e7df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,6 @@ jobs: with: cache: yarn node-version-file: .nvmrc - - uses: actions/setup-java@v4 with: distribution: corretto @@ -36,11 +35,8 @@ jobs: java-version: 11 - run: make reinstall - - run: make validate - - run: make test - - run: make compile - name: Test, compile @@ -56,6 +52,9 @@ jobs: -jar ./bin/sbt-launch.jar clean compile assets scalafmtCheckAll test Universal/packageBin - uses: guardian/actions-riff-raff@v4 + env: + GU_RIFF_RAFF_ROLE_ARN: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} + if: ${{ env.GU_RIFF_RAFF_ROLE_ARN }} with: githubToken: ${{ secrets.GITHUB_TOKEN }} roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}