From 17d4f28cf2b92e04bb901e28feedb48061d252ac Mon Sep 17 00:00:00 2001 From: Roberto Cosenza Date: Wed, 13 Dec 2023 14:27:32 +0000 Subject: [PATCH] Setup automatic releases of the jars --- .github/workflows/gradle.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 1bebef8..c26314e 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -9,12 +9,12 @@ name: Java CI with Gradle on: push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + branches: [ "releases" ] + #pull_request: + # branches: [ "main" ] -permissions: - contents: read +#permissions: +# contents: read jobs: build: @@ -35,3 +35,13 @@ jobs: with: gradle-version: 8.4 arguments: -p play-validations memory-footprint:jar + - uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "latest" + prerelease: true + title: "Development Build" + files: | + LICENSE.txt + **.jar +