From 11ddf0bb75335e9f26a6de1b5ebbb6571a1996fe Mon Sep 17 00:00:00 2001 From: BubbleCal Date: Mon, 26 Feb 2024 12:57:14 +0800 Subject: [PATCH] chore: use v0.2.44 cargo-workspace for bumping version (#1997) the newest cargo-workspace can't be installed due to a compile error --------- Signed-off-by: BubbleCal --- .github/workflows/bump-version/action.yml | 2 +- .github/workflows/make-release-commit.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bump-version/action.yml b/.github/workflows/bump-version/action.yml index 3bb8140fe9..172ad1bbbe 100644 --- a/.github/workflows/bump-version/action.yml +++ b/.github/workflows/bump-version/action.yml @@ -23,5 +23,5 @@ runs: working-directory: rust shell: bash run: | - cargo install cargo-workspaces + cargo install cargo-workspaces --version 0.2.44 cargo ws version --no-git-commit -y --exact --force 'lance*' ${{ inputs.part }} diff --git a/.github/workflows/make-release-commit.yml b/.github/workflows/make-release-commit.yml index 62bfbdcd5d..7c9b834d3f 100644 --- a/.github/workflows/make-release-commit.yml +++ b/.github/workflows/make-release-commit.yml @@ -28,7 +28,7 @@ jobs: - name: Check out main uses: actions/checkout@v4 with: - ref: main + ref: ${{ github.ref }} persist-credentials: false fetch-depth: 0 lfs: true @@ -52,6 +52,6 @@ jobs: uses: ad-m/github-push-action@master with: github_token: ${{ secrets.LANCE_RELEASE_TOKEN }} - branch: main + branch: ${{ github.ref }} tags: true