From 9c1a4e600fcd8cb893ab3d443285223c42a12282 Mon Sep 17 00:00:00 2001 From: Vladislav Grubov Date: Thu, 4 Apr 2024 00:42:35 +0400 Subject: [PATCH] ci: fix --- .github/workflows/push-rockspec.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push-rockspec.yml b/.github/workflows/push-rockspec.yml index 96c6bd3..e91ab98 100644 --- a/.github/workflows/push-rockspec.yml +++ b/.github/workflows/push-rockspec.yml @@ -20,7 +20,7 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' }} && startsWith(github.ref, 'refs/tags/') }} steps: - uses: actions/checkout@v4 - - uses: tarantool/setup-tarantool@v2 + - uses: tarantool/setup-tarantool@v3 with: tarantool-version: '2.10.4' @@ -28,7 +28,7 @@ jobs: - name: Set env run: echo "TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - - run: tarantoolctl rocks new_version --tag=${{ env.TAG }} rockspecs/${{ env.ROCK_NAME }}-dev-1.rockspec ${{ env.TAG }} "git+https://github.com/${{ github.repository }}.git" + - run: tarantoolctl rocks new_version --tag=${{ env.TAG }} ${{ env.ROCK_NAME }}-dev-1.rockspec ${{ env.TAG }} "git+https://github.com/${{ github.repository }}.git" - run: tarantoolctl rocks install ${{ env.ROCK_NAME }}-${{ env.TAG }}-1.rockspec - run: tarantoolctl rocks pack ${{ env.ROCK_NAME }}-${{ env.TAG }}-1.rockspec # Install native lua with luarocks @@ -39,7 +39,7 @@ jobs: with: luarocksVersion: "3.8.0" - uses: unfor19/install-aws-cli-action@v1.0.3 - - run: mkdir .build && cp rockspecs/${{ env.ROCK_NAME }}-dev-1.rockspec ${{ env.ROCK_NAME }}-${{ env.TAG }}-1.rockspec .build/ && cp *.src.rock .build/ + - run: mkdir .build && cp ${{ env.ROCK_NAME }}-dev-1.rockspec ${{ env.ROCK_NAME }}-${{ env.TAG }}-1.rockspec .build/ && cp *.src.rock .build/ - name: rebuild and publish s3 luarocks server env: AWS_ACCESS_KEY_ID: ${{ secrets.MOONLIBS_S3_ACCESS_KEY_ID }}