mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-02-08 23:49:32 +00:00
Updated runners to ubuntu 2024.04 LTS Consolidated some node cache utilization in its own action Updated merge conflict detector action version PRs with merge conflicts now get the Review Required tag removed, and PRs that had a conflict get a comment remembering the author to mark them as ready to review if they are ready once the conflict is resolved
38 lines
920 B
YAML
38 lines
920 B
YAML
name: "Build TGUI"
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update-tgui:
|
|
concurrency: tgui
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Install Node
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 14
|
|
cache: 'yarn'
|
|
cache-dependency-path: tgui/yarn.lock
|
|
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.BOT_TOKEN_AURORA }}
|
|
|
|
- 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 }}
|