Skip to content

Testing out Actions instead of Jenkins #1

Testing out Actions instead of Jenkins

Testing out Actions instead of Jenkins #1

Workflow file for this run

name: build-and-test
on:
push:
workflow_dispatch:
env:
CREDENTIALS_FROM_ENVIRONMENT: 'true'
AWS_REGION: 'us-east-2'
AWS_ROLE: 'arn:aws:iam::922513866616:oidc-provider/token.actions.githubusercontent.com'
jobs:
build-and-test:

Check failure on line 13 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'liberica'
java-version: '17.0'
java-package: jdk+fx
- name: Configure AWS Credentials
id: creds
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ env.AWS_REGION }}
role-to-assume: ${{ env.AWS_ROLE }}
output-credentials: true
- name: get caller identity 1
run: |
aws sts get-caller-identity
# - run: sbt -v playScrapeServer/publishLocal
# - run: sbt -v playScrape/scripted