We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06b0327 commit 3eb2566Copy full SHA for 3eb2566
.github/workflows/publish.yml
@@ -10,6 +10,8 @@ jobs:
10
runs-on: ubuntu-latest
11
permissions:
12
contents: write
13
+ env:
14
+ spec_version: "" # this gets set in the Get Rockspec Version step
15
16
steps:
17
- uses: actions/checkout@v4
@@ -30,10 +32,10 @@ jobs:
30
32
- name: Publish to LuaRocks
31
33
run: |
34
luarocks upload \
- "rockspec/luarocks-build-lls-addon-${spec_version}.rockspec" \
35
+ "rockspec/luarocks-build-lls-addon-${{ env.spec_version }}.rockspec" \
36
--api-key=${{ secrets.LUAROCKS_API_KEY }}
37
38
- name: Create GitHub Release
39
uses: softprops/action-gh-release@v2
40
with:
- files: "luarocks-build-lls-addon-${spec_version}.src.rock"
41
+ files: "luarocks-build-lls-addon-${{ env.spec_version }}.src.rock"
0 commit comments