Update docs about refsection #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish dev version | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- citeproc-lua-dev-1.rockspec | |
workflow_dispatch: | |
jobs: | |
publish-luarocks-dev: | |
if: ${{ github.repository == 'zepinglee/citeproc-lua' }} | |
name: Publish dev version to LuaRocks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up Lua | |
uses: leafo/gh-actions-lua@v10 | |
with: | |
luaVersion: "5.3" | |
- name: Set up LuaRocks | |
uses: leafo/gh-actions-luarocks@v4 | |
- name: Set up dependencies | |
run: luarocks install dkjson | |
- name: Upload dev version to LuaRocks | |
run: luarocks upload --temp-key ${{ secrets.LUAROCKS_API_KEY }} --force citeproc-lua-dev-1.rockspec |