We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7f9cf4 commit 0745fe3Copy full SHA for 0745fe3
1 file changed
.github/workflows/luarocks-release.yaml
@@ -8,15 +8,15 @@ jobs:
8
luarocks-upload:
9
runs-on: ubuntu-22.04
10
steps:
11
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v5
12
with:
13
fetch-depth: 0
14
- name: Set LuaRocks version
15
run: echo "LUAROCKS_VERSION=0.0.$(git log --oneline | wc -l)" >> $GITHUB_ENV
16
- name: Get new commit count
17
run: echo "NEW_COMMIT_COUNT=$(git log --oneline --since '24 hours ago' | wc -l)" >> $GITHUB_ENV
18
- name: LuaRocks Upload
19
- uses: nvim-neorocks/luarocks-tag-release@v5
+ uses: nvim-neorocks/luarocks-tag-release@v7
20
if: ${{ env.NEW_COMMIT_COUNT > 0 }}
21
env:
22
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
0 commit comments