Skip to content

Version bump to 1.6-2 to try CI deploy to luarocks.org #1

Version bump to 1.6-2 to try CI deploy to luarocks.org

Version bump to 1.6-2 to try CI deploy to luarocks.org #1

Workflow file for this run

name: deploy
# How to fire this workflow
## After you are ready to deploy your rock, you need create a git tag in the format vX.Y-Z
## git tag vX.Y-Z && git push --tags
on:
push:
tags:
- 'v*.*-*'
jobs:
build:
uses: ./.github/workflows/build.yml

Check failure on line 14 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

error parsing called workflow ".github/workflows/deploy.yml" -> "./.github/workflows/build.yml" (source tag with sha:2a88ad64d74613ad6676bcac9e2f220dec1ce9be) : workflow is not reusable as it is missing a `on.workflow_call` trigger
deploy:
name: Deploy rock to luarocks.org
needs: [ build ] # build must pass to deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy to luarocks.org
run: docker-compose build upload
env:
LUA_ROCKS_API_KEY: ${{ secrets.LUA_ROCKS_API_KEY }}