diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index f4d32ee..d5bbed7 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -11,8 +11,22 @@ jobs: update-config: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - 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 \ No newline at end of file + 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 }} \ No newline at end of file diff --git a/src/main.lua b/src/main.lua index 5c70267..ce94c05 100644 --- a/src/main.lua +++ b/src/main.lua @@ -198,4 +198,5 @@ function basalt.getAPI(name) return elementManager.getAPI(name) end + return basalt \ No newline at end of file