Skip to content

Commit

Permalink
📦 Support scm
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Jun 21, 2024
1 parent 5633cdd commit b1d82ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
- "**.md"
workflow_dispatch:

# https://github.com/softprops/action-gh-release/issues/236
permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -20,6 +16,15 @@ jobs:
- uses: nvim-neorocks/luarocks-tag-release@v5
env:
LUAROCKS_API_KEY: ${{secrets.LUAROCKS_API_KEY}}
if: "! startsWith(github.ref, 'refs/tags/')"
with:
template: template.rockspec
name: prompt-style
version: scm
- uses: nvim-neorocks/luarocks-tag-release@v5
env:
LUAROCKS_API_KEY: ${{secrets.LUAROCKS_API_KEY}}
if: startsWith(github.ref, 'refs/tags/')
with:
template: template.rockspec
name: prompt-style
Expand Down
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Wu Zhenyu <[email protected]> Wu, Zhenyu <[email protected]>
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ repos:
additional_dependencies:
- markdown-it-texmath
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.8
rev: v0.4.9
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/kumaraditya303/mirrors-pyright
rev: v1.1.366
rev: v1.1.367
hooks:
- id: pyright
- repo: https://github.com/lunarmodules/luacheck
Expand Down

0 comments on commit b1d82ad

Please sign in to comment.