Skip to content

add: GitHub workflows for testing and releasing #1

add: GitHub workflows for testing and releasing

add: GitHub workflows for testing and releasing #1

Workflow file for this run

name: Publish
on:
push:
tags:
- "v*.*.*"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Lua
uses: leafo/gh-actions-lua@v11
with:
luaVersion: "5.4.8"
- name: Set up LuaRocks
uses: leafo/gh-actions-luarocks@v5
- name: Pack Rock
run: luarocks pack
- name: Publish to LuaRocks
run: luarocks upload --api-key=${{ secrets.LUAROCKS_API_KEY } *.rockspec
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
files: *.src.rock

Check failure on line 34 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 34