ci(lua): fix tag not found, fix luarocks cmd

This commit is contained in:
əlemi 2024-09-21 12:11:55 +02:00
parent 63f428f05d
commit 80dda4f5b6
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -36,6 +36,8 @@ jobs:
buildcmd: cargo rustc --release --features=luajit -- -C link-arg=-undefined -C link-arg=dynamic_lookup buildcmd: cargo rustc --release --features=luajit -- -C link-arg=-undefined -C link-arg=dynamic_lookup
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
fetch-depth: 0 # necessary to get last tag
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v3 - uses: arduino/setup-protoc@v3
with: with:
@ -62,7 +64,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: leafo/gh-actions-lua@v9 - uses: leafo/gh-actions-lua@v9
- uses: leafo/gh-actions-luarocks@v4 - uses: leafo/gh-actions-luarocks@v4
- run: luarock upload codemp-*.rockspec - run: luarocks upload codemp-*.rockspec
working-directory: dist/lua working-directory: dist/lua
upload: upload: