Skip to content

Commit

Permalink
ci: add release-please workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
igorlfs committed Feb 9, 2025
1 parent 0a850fb commit f33b139
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
name: "release"
name: Release To GitHub

on:
push:
tags:
- 'v*'
branches:
- main
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
luarocks-upload:
runs-on: ubuntu-22.04
release:
name: Release To GitHub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v4
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
release-type: simple

0 comments on commit f33b139

Please sign in to comment.