Skip to content

Commit

Permalink
fix: make luarocks workflow automatic
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Mar 4, 2024
1 parent c10f5c8 commit d3feb57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/luarocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: LuaRocks release

on:
release:
types: [created]
branches: [main]
types: [published]
pull_request: # Will test a local install without uploading to luarocks.org

jobs:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ on:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
token: ${{ secrets.PAT }}
release-type: rust
package-name: toml-edit-lua

0 comments on commit d3feb57

Please sign in to comment.