mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 09:24:48 +00:00
commit
8d7d7a7c1c
9
.github/workflows/compile-clients.yml
vendored
9
.github/workflows/compile-clients.yml
vendored
@ -2,7 +2,7 @@ name: Build and compile clients
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 0 0 * * *
|
- cron: '0 0 * * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -43,7 +43,14 @@ jobs:
|
|||||||
cp ${{ runner.temp }}/shadow/javascript/classes.js.map ./public/game/web/clients/shadow/classes.js.map
|
cp ${{ runner.temp }}/shadow/javascript/classes.js.map ./public/game/web/clients/shadow/classes.js.map
|
||||||
cp ${{ runner.temp }}/shadow/javascript/Shadow_Client_International.html ./public/game/offline/clients/Shadow_Client.html
|
cp ${{ runner.temp }}/shadow/javascript/Shadow_Client_International.html ./public/game/offline/clients/Shadow_Client.html
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
|
id: git-auto-commit-action
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
commit_message: 'github-actions: build and compile clients'
|
commit_message: 'github-actions: build and compile clients'
|
||||||
commit_author: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'
|
commit_author: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'
|
||||||
|
- name: Merge back with 'dev' branch
|
||||||
|
if: steps.git-auto-commit-action.outputs.changes_detected == 'true'
|
||||||
|
run: |
|
||||||
|
git checkout dev
|
||||||
|
git merge --rebase --allow-unrelated-histories main
|
||||||
|
git push origin dev
|
||||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user