From 214aa7b6e4935ad613d9a4047e54c217a92bce45 Mon Sep 17 00:00:00 2001 From: Seijo Cecilia Date: Fri, 30 Aug 2024 16:00:33 +0800 Subject: [PATCH] update(workflow): 'build' can only be triggered manually --- .github/workflows/build.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 319ce50b7..bedb58ed8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,15 +1,11 @@ name: "Build Action" on: workflow_dispatch: - push: - branches: - - main permissions: write-all jobs: Build-LiteLoader: - if: ${{ startsWith(github.event.head_commit.message, 'build:') }} runs-on: ubuntu-latest steps: - name: Clone Main Repository @@ -37,7 +33,6 @@ jobs: name: NapCat.Framework path: dist Build-Shell: - if: ${{ startsWith(github.event.head_commit.message, 'build:') }} runs-on: ubuntu-latest steps: - name: Clone Main Repository @@ -63,4 +58,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: NapCat.Shell - path: dist \ No newline at end of file + path: dist