From 41046f832469b31601149ff30f92901eceeb025c Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Thu, 31 Aug 2023 09:04:01 +0800 Subject: [PATCH] chore: turn off binary release for pushes to main --- .github/workflows/ci.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64c880f..5fabaa9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,11 +5,6 @@ on: push: tags: - 'v*' - branches: [ "main" ] - paths: - - 'Cargo.toml' - - 'Cargo.lock' - - 'crates/**' pull_request: branches: ["main" ] paths: @@ -108,16 +103,10 @@ jobs: - name: Download all artifacts uses: actions/download-artifact@v3 - - name: Generate tag name - env: - REF_NAME: ${{ github.ref_name }} - run: | - echo "TAG_NAME=$(echo $REF_NAME | sed 's/main/nightly/g')" >>${GITHUB_ENV} - - uses: ncipollo/release-action@v1 with: allowUpdates: true prerelease: true artifacts: "tabby_*/tabby_*" - tag: ${{ env.TAG_NAME }} + tag: ${{ github.ref_name }} removeArtifacts: true