diff --git a/.github/workflows/auto_package_and_release.yml b/.github/workflows/auto_package_and_release.yml index 5ab4485..dec1ea8 100644 --- a/.github/workflows/auto_package_and_release.yml +++ b/.github/workflows/auto_package_and_release.yml @@ -42,6 +42,8 @@ jobs: generate_release_notes: true draft: false prerelease: false + fail_on_unmatched_files: true + package: needs: release strategy: @@ -56,8 +58,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - with: - fetch-depth: 0 # 获取所有历史记录以便生成标签 + # with: + # fetch-depth: 0 # 获取所有历史记录以便生成标签 - name: Set up Python uses: actions/setup-python@v5 @@ -95,4 +97,4 @@ jobs: file: "./dist/*.exe;./dist/*.zip" release_id: ${{ needs.release.outputs.release_id }} verbose: false - overwrite: true \ No newline at end of file + overwrite: true diff --git a/README.md b/README.md index ecb6a67..00e25a9 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ **禁止任何人将代码用于违法行为** +[![Auto Package and Release](https://github.com/God-2077/python-code/actions/workflows/auto_package_and_release.yml/badge.svg)](https://github.com/God-2077/python-code/actions/workflows/auto_package_and_release.yml)[![Dev Package and Upload(dev)](https://github.com/God-2077/python-code/actions/workflows/dev_package_and_upload.yml/badge.svg?branch=dev)](https://github.com/God-2077/python-code/actions/workflows/dev_package_and_upload.yml) ## [网易云音乐歌单批量下载歌曲][1]