From 9233437d33fec3d7c9465f4f689fb34ed1ff3e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B8=E5=BE=92=E7=8E=9F=E7=90=85?= Date: Wed, 24 Jun 2020 13:52:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dotnet-core.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 687d3c1..1cae6c8 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -34,6 +34,8 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Publish run: dotnet publish --configuration Release --no-build --output ./.github/out + - name: Delete extra files + run: rm -f ./.github/out/aliyun-ddns ./.github/out/aliyun-ddns.pdb - name: Upload a Build Artifact uses: actions/upload-artifact@v2 with: @@ -122,7 +124,7 @@ jobs: - name: Create zip if: success() && startsWith(github.ref, 'refs/tags') run: | - zip -q -r ${{ steps.zipname.outputs.zip_name }} ./.github/out/* + zip --junk-paths -q -r ${{ steps.zipname.outputs.zip_name }} ./.github/out/* - name: Create Release if: success() && startsWith(github.ref, 'refs/tags')