Skip to content

Commit

Permalink
update release name
Browse files Browse the repository at this point in the history
  • Loading branch information
cqb13 committed Dec 21, 2024
1 parent 70a427c commit 3f70806
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,21 @@ concurrency:

on:
push:
branches: [ master ]
branches: [master]
paths-ignore:
- '*.md'
- '.github/**'
- "*.md"
- ".github/**"

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Set up JDK 21
uses: actions/setup-java@v4.6.0
with:
java-version: 21
distribution: 'zulu'
distribution: "zulu"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand All @@ -31,8 +30,9 @@ jobs:
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "1.21-build-${{ github.run_number }}"
automatic_release_tag: "1.21.3-build-${{ github.run_number }}"
prerelease: false
title: "1.21 Build ${{ github.run_number }}"
title: "1.21.3 Build ${{ github.run_number }}"
files: |
./build/libs/*.jar
./build/libs/*.jar
9 changes: 4 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,21 @@ name: Java CI with Gradle

on:
pull_request:
branches: [ master ]
branches: [master]
paths-ignore:
- '*.md'
- '.github/**'
- "*.md"
- ".github/**"

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Set up JDK 21
uses: actions/setup-java@v4.6.0
with:
java-version: 21
distribution: 'zulu'
distribution: "zulu"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand Down

0 comments on commit 3f70806

Please sign in to comment.