Files
Aurora.3/.github/workflows/update_tgui.yml
Werner 914eedf240 Updates tools (#16781)
* Fixes errors when running dependencies.sh outside github
* Adds PreCOmpile/InstallDeps/WatchdogLaunch Script heavilybased on tgs versions
* removes tgui artifacts -> using server side build script instead
* removes librust_g.so -> using server side build script instead
* adds .tgs.yml
* Bump Flyway Version

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2023-07-19 00:13:01 +02:00

45 lines
1.1 KiB
YAML

name: "Build TGUI"
on:
workflow_dispatch:
jobs:
update-tgui:
concurrency: tgui
runs-on: ubuntu-22.04
steps:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 14
- name: Checkout Repository
uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_TOKEN_AURORA }}
- name: Restore Yarn cache
uses: actions/cache@v3
with:
path: tgui/.yarn/cache
key: ${{ runner.os }}-yarn-${{ hashFiles('tgui/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-
${{ runner.os }}-
- name: Update TGUI
run: |
tools/bootstrap/node tools/build/build.js tgui
- name: Commit TGUI
run: |
git pull origin master
git config --local user.email "action@github.com"
git config --local user.name "AuroraBuildBot"
git add --force tgui/public/*
git commit -m "Automatic TGUI compile [ci skip]" -a || true
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.BOT_TOKEN_AURORA }}