Lots of fixes and improvements
This commit is contained in:
Robert Jelic
2025-02-16 14:33:07 +01:00
parent 19edc4b295
commit cc7b2de51a
27 changed files with 198 additions and 208 deletions

43
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,43 @@
name: Basalt Build Pipeline
on:
push:
branches:
- main
paths:
- 'src/**'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Lua
run: |
sudo apt-get update
sudo apt-get install -y lua5.3
- name: Generate Config
run: |
lua tools/generate-config.lua
- name: Generate Changelog
id: changelog
uses: heinrichreimer/github-changelog-generator-action@v2.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit Changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add config.lua CHANGELOG.md
git commit -m "Update config and changelog" || exit 0
git push