updeat to 1.18
This commit is contained in:
15
.github/workflows/gradle.yml
vendored
15
.github/workflows/gradle.yml
vendored
@@ -4,7 +4,7 @@
|
||||
name: Java CI with Gradle
|
||||
|
||||
concurrency:
|
||||
group: "build-1.17"
|
||||
group: "build-1.18"
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
@@ -18,16 +18,12 @@ jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
java: [ '16', '16.0.1' ]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 16
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: ${{ matrix.Java }}
|
||||
java-version: 17
|
||||
distribution: 'zulu'
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
@@ -36,12 +32,11 @@ jobs:
|
||||
- name: Remove *-dev.jar
|
||||
run: rm ./build/libs/*-dev.jar
|
||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||
if: ${{ matrix.Java == '16' }}
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: "latest-1.17"
|
||||
automatic_release_tag: "latest-1.18"
|
||||
prerelease: false
|
||||
title: "1.17 Build"
|
||||
title: "1.18 Build"
|
||||
files: |
|
||||
./build/libs/*.jar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user