-
-
Notifications
You must be signed in to change notification settings - Fork 115
29 lines (27 loc) · 827 Bytes
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Borrowed from https://github.com/gradle/gradle-build-action
name: Test latest Gradle RC
on:
schedule:
- cron: 0 0 * * * # daily
workflow_dispatch:
inputs:
reason:
description: 'Reason for manual run'
required: false
jobs:
gradle-rc:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4.1.1
- name: Setup java
uses: actions/setup-java@v4.0.0
with:
distribution: 'zulu'
java-version: 11
- uses: gradle/gradle-build-action@v3-prerelease
id: setup-gradle
with:
gradle-version: release-candidate
- run: gradle build --dry-run # just test build configuration
- run: echo "The release-candidate version was ${{ steps.setup-gradle.outputs.gradle-version }}"