Update build.yml #7
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
# This workflow builds the WRES distros | ||
name: Build | ||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies. | ||
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md | ||
- name: Setup Gradle | ||
run: echo "step 11" | ||
# Run and build using gradle | ||
# Disable aggregateJavaDocs | ||
- name: Run build | ||
run: echo "step 2" | ||
# Confirm the test code inside wres-external-services-tests zip compiles | ||
- name: Compile external-services-tests | ||
run: echo "step 3" | ||
# Create the system tests zip | ||
- name: Create systests zip | ||
run: echo "step 4" | ||
- name: Creating md5 | ||
run: run: echo "step 5" | ||