Pre Release Check #117
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: Pre Release Check | |
on: | |
workflow_dispatch # Manually triggered | |
jobs: | |
test-dataflow: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: google-github-actions/auth@v2 | |
with: | |
credentials_json: ${{ secrets.GCP_CREDENTIALS }} | |
export_environment_variables: true | |
create_credentials_file: true | |
- name: cache SBT | |
uses: coursier/cache-action@v6 | |
- name: Java setup | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: set JVM opts | |
run: scripts/gha_setup.sh | |
env: | |
BEAM_RUNNERS: DataflowRunner | |
- name: Run Dataflow jobs | |
run: sbt "scio-examples/Test/runMain com.spotify.scio.examples.RunPreReleaseIT --runId=${{ github.run_id }}" |