aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2022-04-13 13:28:37 +0300
committerPetr Ilin <hevav@hevav.dev>2022-04-13 13:29:21 +0300
commita34dc64186c0f8974ff144da3cd1e2647609cf10 (patch)
tree51eea18e43ee23eb464e934ec50603f58a3fd0a5 /.github/workflows/build.yml
parent1e754d716a13c84f061c4d6358099b7ec83f0749 (diff)
downloadLimboAuth-a34dc64186c0f8974ff144da3cd1e2647609cf10.tar.gz
LimboAuth-a34dc64186c0f8974ff144da3cd1e2647609cf10.tar.bz2
LimboAuth-a34dc64186c0f8974ff144da3cd1e2647609cf10.zip
Autoupload dev-build
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml16
1 files changed, 9 insertions, 7 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index df809fc..15362ea 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- java: [ 11, 16 ]
+ java: [ 11, 17 ]
fail-fast: true
steps:
- name: Checkout
@@ -17,12 +17,6 @@ jobs:
with:
distribution: adopt
java-version: ${{ matrix.java }}
- - name: Cache Gradle
- uses: actions/cache@v3.0.1
- with:
- path: ~/.gradle
- key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
- restore-keys: ${{ runner.os }}-gradle-
- name: Build LimboAuth
run: ./gradlew build
- name: Upload LimboAuth
@@ -30,3 +24,11 @@ jobs:
with:
name: LimboAuth Built On ${{ matrix.java }} JDK
path: "build/libs/limboauth*.jar"
+ - name: Release the build
+ uses: ncipollo/release-action@v1
+ with:
+ artifacts: "build/libs/limboauth*.jar"
+ body: ${{ join(github.event.commits, '\n') }}
+ prerelease: true
+ name: JDK ${{ matrix.java }} Dev-build
+ tag: dev-build-jdk-${{ matrix.java }}