From fbdfdb8f41c2876f2a1711751479e1d96228050e Mon Sep 17 00:00:00 2001 From: 0xd4d Date: Fri, 28 Aug 2020 19:47:42 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c1e463301..1d780776c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,19 +49,19 @@ jobs: .\clean-all.cmd - uses: actions/upload-artifact@v1 - if: true + if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') with: name: dnSpy-net472 path: C:\builtfiles\dnSpy-net472.zip - uses: actions/upload-artifact@v1 - if: true + if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') with: name: dnSpy-netcore-win32 path: C:\builtfiles\dnSpy-netcore-win32.zip - uses: actions/upload-artifact@v1 - if: true + if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') with: name: dnSpy-netcore-win64 path: C:\builtfiles\dnSpy-netcore-win64.zip