From 9819218114575db3d0231227c6ad2d06c026175c Mon Sep 17 00:00:00 2001 From: wxy <1939311091@qq.com> Date: Sat, 23 Sep 2023 15:45:38 +0800 Subject: [PATCH] fix: fix ci --- .github/workflows/build.yml | 5 ----- .github/workflows/ci.yml | 31 ------------------------------- 2 files changed, 36 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fbc9bc8..76eb2ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,11 +36,6 @@ jobs: id: get-previous-tag uses: actions-ecosystem/action-get-latest-tag@v1.6.0 - - name: Release - run: yarn global add semantic-release@17.4.4 && semantic-release - env: - GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }} - - name: Fetch Current version id: get-current-tag uses: actions-ecosystem/action-get-latest-tag@v1.6.0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 49dcdf1..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: CI - -on: - - push - - pull_request - -jobs: - - test: - runs-on: ubuntu-latest - steps: - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.18 - - - uses: actions/checkout@v2 - - semantic-release: - needs: [ test ] - runs-on: ubuntu-latest - steps: - - - uses: actions/checkout@v2 - - name: Run semantic-release - if: github.repository == 'palp1tate/go-crypto-guard' && github.event_name == 'push' - run: | - npm install --save-dev semantic-release@17.2.4 - npx semantic-release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}