Treat missing checksum file as an error #212
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
on: | |
push: | |
branches: [ main, 'v*' ] | |
pull_request: | |
branches: [ '*' ] | |
workflow_dispatch: | |
jobs: | |
test: | |
name: "Test Download" | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Check out repository' | |
uses: actions/checkout@v4 | |
- name: 'Compile and run test' | |
shell: bash | |
run: | | |
PATH=$JAVA_HOME_21_X64/bin:$PATH | |
javac -d classes src/Download.java test/Test.java | |
java -cp classes Test | |
validate: | |
name: "Validate Values" | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Check out repository' | |
uses: actions/checkout@v4 | |
- name: 'Run validation program' | |
shell: bash | |
run: | | |
PATH=$JAVA_HOME_21_X64/bin:$PATH | |
java test/Validate.java |