From 6efc67da5b9d093dcd49a4f57741700fe3bcb860 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Sun, 10 Mar 2024 16:23:29 +0000 Subject: [PATCH] Skip indexer upload on --nobuild --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eefb186b2d..02078c4979 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,7 +87,7 @@ jobs: echo "ARTIFACT_TAG=$ARTIFACT_TAG" >> $GITHUB_ENV - name: "Upload artifacts to update server" - if: ${{ !github.event.pull_request.head.repo.fork }} + if: ${{ !github.event.pull_request.head.repo.fork }} && !contains(github.event.head_commit.message, '--nobuild') run: | FILES=$(for ARTIFACT in $(find artifacts -maxdepth 1 -not -type d); do echo "-F files=@${ARTIFACT}"; done) curl --fail -L -H "Token: ${{ secrets.INDEXER_TOKEN }}" \