(update) fix: sed

(update) fix: deploy script

(update) ci: use java 21

(update) ci: update gradle version

(update) ci: remove branch filter
This commit is contained in:
iceBear67 committed 2025-09-19 14:32:22 +08:00
1 parent 89d09074ca
commit 9018cb052c
4 files changed
+16 -79

No files matched your search

+3 -5
View File
@@ -10,7 +10,7 @@ name: Deploy to server
on:
workflow_dispatch:
push:
branches: [ "master" ]
branches: [ "master", "rev/1.21.6" ]
jobs:
build:
if: github.event_name == 'schedule' || startsWith(github.event.head_commit.message, '(update)')
@@ -28,11 +28,10 @@ jobs:
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
- name: Setup Gradle 8.10
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: "8.10" # Quotes required to prevent YAML converting to number
gradle-version: '8.12'
- name: Build with Gradle Wrapper
run: gradle remapJar
- name: Install JQ
@@ -47,5 +46,4 @@ jobs:
COMMIT_AUTHOR: ${{ github.event.head_commit.author.name }}
run: |
cd scripts
chmod +x ./special_curl
sh ./update.sh