diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 3b0426b..b0d9b3b 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -40,21 +40,19 @@ jobs: - name: Build working-directory: ${{env.GITHUB_WORKSPACE}} run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=${{env.BUILD_PLATFORM}} ${{env.SOLUTION_FILE_PATH}} - - - name: Cleanup - working-directory: D:\a\Shell\Shell\src\bin\ - run: | - del ${{matrix.platform}}*.lib - del ${{matrix.platform}}*.exp - del *.wixpdb - name: Upload artifacts + working-directory: D:\a\Shell\Shell\src\bin\ uses: actions/upload-artifact@v4 with: name: shell-${{matrix.platform}} - path: D:\a\Shell\Shell\src\bin\* + path: | + * + !${{matrix.platform}}\*.lib + !${{matrix.platform}}\*.exp + !*.wixpdb if-no-files-found: warn retention-days: 0 compression-level: 6 overwrite: false - include-hidden-files: true + include-hidden-files: false