From 3f70806e6847e390599f232906b14e1b153415ee Mon Sep 17 00:00:00 2001 From: cqb13 Date: Sat, 21 Dec 2024 14:53:59 -0500 Subject: [PATCH] update release name --- .github/workflows/gradle.yml | 16 ++++++++-------- .github/workflows/pull_request.yml | 9 ++++----- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 2b819ae..9e52fa4 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -6,14 +6,13 @@ 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 @@ -21,7 +20,7 @@ jobs: 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 @@ -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 \ No newline at end of file + ./build/libs/*.jar + diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index c8f5285..c0d727f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -5,14 +5,13 @@ 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 @@ -20,7 +19,7 @@ jobs: 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