Test
This commit is contained in:
17
.github/workflows/config.yml
vendored
17
.github/workflows/config.yml
vendored
@@ -10,9 +10,12 @@ on:
|
||||
jobs:
|
||||
update-config:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Lua
|
||||
run: |
|
||||
@@ -21,12 +24,12 @@ jobs:
|
||||
|
||||
- name: Generate Config
|
||||
run: |
|
||||
lua scripts/generate-config.lua
|
||||
lua tools/generate-config.lua
|
||||
|
||||
- name: Commit and Push Changes
|
||||
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 config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
||||
git add config.lua
|
||||
git commit -m "Update installer config" || exit 0
|
||||
git push
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -198,5 +198,4 @@ function basalt.getAPI(name)
|
||||
return elementManager.getAPI(name)
|
||||
end
|
||||
|
||||
|
||||
return basalt
|
||||
Reference in New Issue
Block a user