Push forward
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user