-
Notifications
You must be signed in to change notification settings - Fork 97
42 lines (36 loc) · 985 Bytes
/
autobuild.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
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Nightly build
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
gradle:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
- name: Increment Version
env:
VERSION_s: 4+GITHUB_RUN_NUMBER
VERSION_f: "2.2.0-dev$VERSION_s"
- name: Setup Gradle
uses: gradle/[email protected]
- name: Execute Gradle build
run: ./gradlew build
- uses: "dciborow/[email protected]"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "$VERSION_f"
prerelease: true
title: "Version 2.2.0, Pre-release $VERSION_s (Nightly)"
generate_release_notes: true
files: |
LICENSE
ChangeLog.md
build/libs/**.jar