From 80dda4f5b6d7ab2878fa0eb2fea919fdfdbfc61b Mon Sep 17 00:00:00 2001 From: alemi Date: Sat, 21 Sep 2024 12:11:55 +0200 Subject: [PATCH] ci(lua): fix tag not found, fix luarocks cmd --- .github/workflows/lua.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml index 27319d6..a532b27 100644 --- a/.github/workflows/lua.yml +++ b/.github/workflows/lua.yml @@ -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: