mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 07:14:50 +01:00
ci(lua): fix tag not found, fix luarocks cmd
This commit is contained in:
parent
63f428f05d
commit
80dda4f5b6
1 changed files with 3 additions and 1 deletions
4
.github/workflows/lua.yml
vendored
4
.github/workflows/lua.yml
vendored
|
@ -36,6 +36,8 @@ jobs:
|
|||
buildcmd: cargo rustc --release --features=luajit -- -C link-arg=-undefined -C link-arg=dynamic_lookup
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # necessary to get last tag
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
|
@ -62,7 +64,7 @@ jobs:
|
|||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: leafo/gh-actions-lua@v9
|
||||
- uses: leafo/gh-actions-luarocks@v4
|
||||
- run: luarock upload codemp-*.rockspec
|
||||
- run: luarocks upload codemp-*.rockspec
|
||||
working-directory: dist/lua
|
||||
|
||||
upload:
|
||||
|
|
Loading…
Reference in a new issue