From 76ccfe668ed16dc631bab804442a145735a08917 Mon Sep 17 00:00:00 2001 From: hanabi1224 Date: Fri, 5 Mar 2021 00:21:10 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c0f5510..3ecdb09 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -84,7 +84,7 @@ jobs: path: java/target/release/*.dylib if-no-files-found: error - name: Deploy nugets - if: ${{ secrets.NUGET_API_KEY != '' }} + if: github.ref == 'refs/heads/master' env: NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} run: |