bug fixed.
This commit is contained in:
9
.github/workflows/build-nightly-cron.yaml
vendored
9
.github/workflows/build-nightly-cron.yaml
vendored
@@ -142,7 +142,7 @@ jobs:
|
||||
npm run build
|
||||
mkdir output
|
||||
cd output
|
||||
unzip ../dist/fika-server.zip
|
||||
unzip ../dist/*.zip
|
||||
shell: bash
|
||||
|
||||
- name: Generate Artifact File Name
|
||||
@@ -475,8 +475,6 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Update trigger and Push to GitHub
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
@@ -487,9 +485,12 @@ jobs:
|
||||
echo "server=$server" > trigger.nightly
|
||||
fika=${{ needs.prepare.outputs.FIKA_SERVER_COMMIT }}
|
||||
echo "fika=$fika" >> trigger.nightly
|
||||
changes=$(git status --porcelain)
|
||||
if [ -n "$changes" ]; then
|
||||
git add trigger.nightly
|
||||
git commit -m "🤖 up to spt-server: \`$server\`, fika-server:\`${fika:0:8}\`."
|
||||
git commit -m "🤖 auto built spt-server: \`$server\`, fika-server:\`${fika:0:8}\`."
|
||||
git push
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
assemble-and-publish:
|
||||
|
||||
3
.github/workflows/build-release-cron.yaml
vendored
3
.github/workflows/build-release-cron.yaml
vendored
@@ -487,9 +487,12 @@ jobs:
|
||||
rm trigger.release
|
||||
echo "server=${{ needs.prepare.outputs.TARGET_TAG }}" > trigger.release
|
||||
echo "fika=${{ needs.prepare.outputs.TARGET_TAG_FIKA }}" >> trigger.release
|
||||
changes=$(git status --porcelain)
|
||||
if [ -n "$changes" ]; then
|
||||
git add trigger.release
|
||||
git commit -m "🤖 bump to \`${{ needs.prepare.outputs.TARGET_TAG }}\`."
|
||||
git push
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
- name: Download Windows Artifact
|
||||
|
||||
Reference in New Issue
Block a user