Skip to content

Commit

Permalink
Setup automatic releases of the jars
Browse files Browse the repository at this point in the history
  • Loading branch information
robcos committed Dec 13, 2023
1 parent cc78656 commit 17d4f28
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 17d4f28

Please sign in to comment.