9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-26 10:29:13 +00:00

Fix build & diff

This commit is contained in:
Dreeam
2025-06-17 04:08:42 +08:00
parent 4180f041c1
commit 2c480e477b
21 changed files with 157 additions and 84 deletions

View File

@@ -2,7 +2,7 @@ name: Build Leaf 1.21.6
on:
push:
branches: [ "ver/1.21.6" ]
branches: [ "dev/1.21.6" ]
workflow_dispatch:
jobs:
@@ -106,7 +106,7 @@ jobs:
token: "${{ secrets.GITHUB_TOKEN }}"
target_commitish: "${{ github.sha }}"
draft: false
prerelease: false
prerelease: true
- name: Calculate SHA-256
id: hash
@@ -148,4 +148,4 @@ jobs:
--repositoryPath "$REPO_DIR" \
--storagePath /root/api/storage \
--download "primary:/root/api/uploads/leaf-1.21.6-${{ env.BUILD_NUMBER }}.jar:${{ steps.hash.outputs.sha256 }}" \
--buildChannel default
--buildChannel experimental

View File

@@ -1,7 +1,7 @@
name: Publish API
on:
push:
branches: [ "ver/1.21.6" ]
branches: [ "dev/1.21.6" ]
jobs:
build: