diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 9285eb8..4a98af9 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -24,3 +24,27 @@ jobs: - name: Build working-directory: ${{env.GITHUB_WORKSPACE}} run: msbuild /m /p:Platform=x64 /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} + + - name: Copy files + run: | + mkdir release\ + cp README.md release\ + cp LICENSE release\ + cp x64\Release\collat_payload.exe release\ + cp solstice_artifacts\* release\ + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: collateral_damage_artifacts + path: | + release\** + + - name: Bundle binaries + run: 7z a -tzip collateral_damage.zip release\** + + - name: Release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: collateral_damage.zip \ No newline at end of file