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