Ensure TempDir
cleanup is executed when validation fails
#4349
Workflow file for this run
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: Reproducible build | |
on: | |
push: | |
branches: | |
- main | |
- 'releases/**' | |
pull_request: | |
branches: | |
- '*' | |
env: | |
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | |
jobs: | |
check_build_reproducibility: | |
name: 'Check build reproducibility' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Restore Gradle cache and display toolchains | |
uses: ./.github/actions/run-gradle | |
with: | |
arguments: --quiet | |
- name: Build and compare checksums | |
shell: bash | |
run: | | |
./gradle/scripts/checkBuildReproducibility.sh |