Files
Basalt2/.github/workflows/config.yml
Robert Jelic 0cd4a7f780 Test
2025-02-15 19:10:17 +01:00

32 lines
803 B
YAML

name: Update Installer Config
on:
push:
branches:
- main
paths:
- 'src/**'
jobs:
update-config:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Lua
run: |
sudo apt-get update
sudo apt-get install -y lua5.3
- name: Generate Config
run: |
lua scripts/generate-config.lua
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add release/basalt.lua
git commit -m 'Minify all Lua files into project bundle'
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}