From 251c8aa2e88933297dc89694f7bea002f5f786ff Mon Sep 17 00:00:00 2001 From: sjlleo Date: Sun, 12 Jun 2022 21:34:30 +0800 Subject: [PATCH] update: generate only with new tag --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2cf1db8..07d9533 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: publish-new-formula: # The type of runner that the job will run on runs-on: ubuntu-latest - + if: startsWith(github.ref, 'refs/tags/v') # Steps represent a sequence of tasks that will be executed as part of the job steps: # Runs a single command using the runners shell @@ -81,4 +81,4 @@ jobs: git push # env: # SSH_AUTH_SOCK: /tmp/ssh_agent.sock - - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file + - run: echo "🍏 This job's status is ${{ job.status }}."