Skip to content

Commit 2209189

Browse files
committed
fixup
1 parent f4eb072 commit 2209189

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,9 @@ jobs:
102102
run:
103103
.github/shell/setup_lua.sh
104104

105-
- name: Luarocks Release
106-
# lua-cjson is required for luarocks upload
107-
env:
108-
LUAROCKS_TOKEN: ${{ secrets.LUAROCKS_TOKEN }}
109-
run: |
110-
.github/shell/publish_rockspec.sh ${{ steps.get_version.outputs.VERSION }}
105+
- name: Package
106+
run:
107+
.github/shell/make_rockspec.sh ${{ steps.get_version.outputs.VERSION }}
111108

112109
- name: Github Release
113110
id: create_release
@@ -119,3 +116,8 @@ jobs:
119116
draft: false
120117
prerelease: false
121118

119+
- name: Luarocks Release
120+
# lua-cjson is required for luarocks upload
121+
run: |
122+
$HOME/.usr/bin/luarocks install lua-cjson
123+
$HOME/.usr/bin/luarocks upload openssl-${{ steps.get_version.outputs.VERSION }}.rockspec --api-key=${{ secrets.LUAROCKS_TOKEN }}

0 commit comments

Comments
 (0)