From 1b34bd2fad5c654c1fb50995d4813662d3f6fbfa Mon Sep 17 00:00:00 2001 From: auxten Date: Sat, 3 Feb 2024 12:25:16 +0800 Subject: [PATCH] Fix GH_TOKEN name --- .github/workflows/build_arm_wheels.yml | 4 ++-- .github/workflows/build_wheels.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_arm_wheels.yml b/.github/workflows/build_arm_wheels.yml index 6f0aed5b89f..a674665eedf 100644 --- a/.github/workflows/build_arm_wheels.yml +++ b/.github/workflows/build_arm_wheels.yml @@ -79,7 +79,7 @@ jobs: run: | gh release upload ${{ github.ref_name }} dist/*.whl --clobber env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - name: Upload libchdb.so to release if: startsWith(github.ref, 'refs/tags/v') run: | @@ -87,7 +87,7 @@ jobs: tar -czvf linux-aarch64-libchdb.tar.gz libchdb.so chdb.h gh release upload ${{ github.ref_name }} linux-aarch64-libchdb.tar.gz --clobber env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - uses: actions/upload-artifact@v3 with: path: | diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 25cf618b685..991853399a2 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -147,7 +147,7 @@ jobs: run: | gh release upload ${{ github.ref_name }} dist/*.whl --clobber env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - name: Packege libchdb.so if: matrix.python-version == '3.12' run: | @@ -158,7 +158,7 @@ jobs: run: | gh release upload ${{ github.ref_name }} linux-x86_64-libchdb.tar.gz --clobber env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - uses: actions/upload-artifact@v3 with: path: | @@ -305,7 +305,7 @@ jobs: run: | gh release upload ${{ github.ref_name }} dist/*.whl --clobber env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - name: Packege libchdb.so if: matrix.python-version == '3.12' run: | @@ -316,7 +316,7 @@ jobs: run: | gh release upload ${{ github.ref_name }} macos-x86_64-libchdb.tar.gz --clobber env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - uses: actions/upload-artifact@v3 with: path: |