m #7
This file contains hidden or 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 | |
| permissions: | |
| contents: read | |
| id-token: write | |
| on: push | |
| jobs: | |
| build-and-test-examples: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Configure AWS Credentials | |
| uses: aws-actions/configure-aws-credentials@v6 | |
| with: | |
| aws-region: us-west-2 | |
| role-to-assume: arn:aws:iam::370957321024:role/GitHub-CI-DDBEC-Dafny-Role-us-west-2 | |
| role-session-name: DDBEC-Dafny-Java-Tests | |
| special-characters-workaround: "true" # Some environments (example: windowsOS) cannot tolerate special characters in a secret key. | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: corretto | |
| java-version: 8 | |
| - name: Build and publish to mavenLocal | |
| run: ./gradlew publishToMavenLocal | |
| - name: Build Examples/DynamoDbEncryption | |
| working-directory: Examples/DynamoDbEncryption | |
| run: ./gradlew build |