Push forward

This commit is contained in:
2026-07-14 13:29:52 +08:00
parent 969cd5c5f8
commit dd3efffa76
246 changed files with 69 additions and 69 deletions
+7 -7
View File
@@ -28,8 +28,8 @@ jobs:
- name: Configure Git User Details
run: |
git config --global user.email "ci-test@monnairealms.moe"
git config --global user.name "Camellia Test CI"
git config --global user.email "ci-test@nanachiyo0721.moe"
git config --global user.name "Shiroha Test CI"
- name: Grant Execute Permission
run: chmod +x gradlew
@@ -46,14 +46,14 @@ jobs:
awk -F= -v key="$1" '$1 == key { val = $2; sub(/[[:space:]]*#.*$/, "", val); gsub(/^[[:space:]]+|[[:space:]]+$/, "", val); print val }' gradle.properties
}
jarName="camellia-$(prop mcVersion).jar"
mv camellia-server/build/libs/camellia-paperclip-"$(prop version)"*.jar "$jarName" 2>/dev/null || \
mv camellia-server/build/libs/*-paperclip-*.jar "$jarName" 2>/dev/null || true
jarName="shiroha-$(prop mcVersion).jar"
mv shiroha-server/build/libs/shiroha-paperclip-"$(prop version)"*.jar "$jarName" 2>/dev/null || \
mv shiroha-server/build/libs/*-paperclip-*.jar "$jarName" 2>/dev/null || true
echo "jar=$jarName" >> "$GITHUB_ENV"
- name: Upload Artifact
uses: actions/upload-artifact@v7
with:
name: ${{ env.jar || 'camellia-pr' }}
path: ${{ env.jar || 'camellia-server/build/libs/*-paperclip-*.jar' }}
name: ${{ env.jar || 'shiroha-pr' }}
path: ${{ env.jar || 'shiroha-server/build/libs/*-paperclip-*.jar' }}
if-no-files-found: warn
+3 -3
View File
@@ -1,4 +1,4 @@
name: Camellia CI
name: Shiroha CI
on:
push:
@@ -57,7 +57,7 @@ jobs:
cache-read-only: false
- name: Configure Git User Details
run: git config --global user.email "ci@monnairealms.moe" && git config --global user.name "Camellia CI"
run: git config --global user.email "ci@nanachiyo0721.moe" && git config --global user.name "Shiroha CI"
- name: Grant Execute Permission
run: chmod +x gradlew
@@ -80,7 +80,7 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v7
with:
name: ${{ env.project_id_b || 'Camellia' }} CI Artifacts
name: ${{ env.project_id_b || 'Shiroha' }} CI Artifacts
path: ${{ env.jar_dir }}
if-no-files-found: warn