Test SNAPSHOT Guides #422
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: Test SNAPSHOT | |
on: | |
schedule: | |
- cron: '0 5 * * 1-5' | |
jobs: | |
alltests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: ["17"] | |
env: | |
JDK_VERSION: ${{ matrix.java }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Use next snapshot patch version | |
run: ./increment_version.sh -p | |
- name: Run All Guide Tests | |
run: './gradlew runAllGuideTests' | |
env: | |
AWS_ACCESS_KEY_ID: XXX | |
AWS_SECRET_ACCESS_KEY: YYY | |
AWS_REGION: us-east-1 | |
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | |
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }} | |
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} |