Skip to content

Commit

Permalink
删除多余的构建文件
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjusss authored Jun 24, 2020
1 parent 8a3f794 commit 9233437
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 9233437

Please sign in to comment.