diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..11ce428d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: "release" +on: + push: + tags: + - '*' +jobs: + luarocks-upload: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - uses: leafo/gh-actions-lua@v9 + with: + luaVersion: "luajit-2.1.0-beta3" + - uses: leafo/gh-actions-luarocks@v4 + - name: Install dkjson + run: luarocks install dkjson + - name: Luarocks Upload + env: + LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} + run: make luarocks_upload + - name: Install release + run: make test_luarocks_install |
