Skip to content

Commit d6b4edd

Browse files
committed
fix
1 parent ad7647e commit d6b4edd

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/msbuild.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,16 @@ jobs:
3939
- run: mv .\README.md .\plugins\${{ github.event.repository.name }}_README.md
4040
- run: mv .\${{ github.event.repository.name }}.ini .\plugins\${{ github.event.repository.name }}.ini
4141
- run: mv .\${{ github.event.repository.name }}.asi .\plugins\${{ github.event.repository.name }}.asi
42-
- run: 7z a -tzip ${{ github.event.repository.name }}-run-${{ github.run_number }}.zip wininet.dll winhttp.dll UltimateASILoader_LICENSE.md
43-
- run: 7z a ${{ github.event.repository.name }}-run-${{ github.run_number }}.zip plugins\
44-
- run: 7z a ${{ github.event.repository.name }}-run-${{ github.run_number }}.zip logs\
42+
43+
- name: Clean any old zip
44+
run: |
45+
if (Test-Path ".\${{ github.event.repository.name }}-run-${{ github.run_number }}.zip") {
46+
Remove-Item ".\${{ github.event.repository.name }}-run-${{ github.run_number }}.zip"
47+
}
48+
49+
- name: Create release zip
50+
run: |
51+
7z a -tzip ${{ github.event.repository.name }}-run-${{ github.run_number }}.zip wininet.dll winhttp.dll UltimateASILoader_LICENSE.md plugins\ logs\
4552
4653
- name: Upload Artifact
4754
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)