aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/release.yml
blob: 11ce428d3e91d40355fe104490eee00d837c8896 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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