Skip to content

Commit

Permalink
Merge pull request #5 from google/naming
Browse files Browse the repository at this point in the history
Tweaking the naming for the build action
  • Loading branch information
robcos authored Dec 13, 2023
2 parents 71d88e2 + a4f08ca commit 3632146
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

name: Java CI with Gradle
name: Release artifacts

on:
push:
Expand All @@ -26,16 +26,17 @@ jobs:
distribution: 'corretto'
architecture: 'x64'
- name: Build memory-footprint.jar
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v2.4.2
with:
gradle-version: 8.4
arguments: -p play-validations memory-footprint:jar
- uses: "marvinpinto/action-automatic-releases@latest"
- name: Release memory-footprint.jar
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
title: "Memory Footprint Build"
files: |
LICENSE.txt
**/memory-footprint.jar
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

name: Java CI with Gradle
name: Continuous Build

on:
push:
Expand All @@ -31,7 +31,7 @@ jobs:
distribution: 'corretto'
architecture: 'x64'
- name: Build memory-footprint.jar
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v2.4.2
with:
gradle-version: 8.4
arguments: -p play-validations memory-footprint:jar

0 comments on commit 3632146

Please sign in to comment.