Scheduled Build #78
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: Scheduled Build | |
on: | |
schedule: | |
- cron: '0 1 * * 0' # Every Sunday at 1am | |
jobs: | |
build: | |
name: Gradle Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Build with Gradle | |
run: ./gradlew build --no-daemon --info --stacktrace | |
- name: Build Gradle War Sample | |
working-directory: ./samples/gradle-war-sample | |
run: ./gradlew build -PcicsUser=user -PcicsPass=pass --no-daemon --info --stacktrace --include-build ../.. | |
- name: Build Gradle Multipart Sample | |
working-directory: ./samples/gradle-multipart-sample | |
run: ./gradlew build -PcicsUser=user -PcicsPass=pass --no-daemon --info --stacktrace --include-build ../.. |