Skip to content

Commit

Permalink
ci: Fix luarocks-release.
Browse files Browse the repository at this point in the history
  • Loading branch information
kylechui committed Nov 11, 2023
1 parent 4f0e1f4 commit e66589c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/luarocks-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@ on:
- "*"
pull_request:
- "*"
release:
types:
- created

jobs:
luarocks-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Required to count the commits
- name: Get Version
run: echo "LUAROCKS_VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV
- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v5
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
summary: "Add/change/delete surrounding delimiter pairs with ease."
licence: "MIT"
version: ${{ env.LUAROCKS_VERSION }}
test_interpreters: null

0 comments on commit e66589c

Please sign in to comment.