Build and run #76
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: Build and run | |
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '0 9 * * *' | |
push: | |
branches: [ main, 'feat/**' ] | |
paths-ignore: | |
- '**.md' # Do not need to run CI for markdown changes. | |
pull_request: | |
branches: [ main, 'feat/**' ] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build-and-run: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # Needed if using OIDC to get release secrets. | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- uses: launchdarkly/gh-actions/actions/verify-hello-app@verify-hello-app-v1.0.1 | |
with: | |
use_server_key: true | |
role_arn: ${{ vars.AWS_ROLE_ARN }} | |
command: ./gradlew run |