Skip to content

Commit

Permalink
feat(ci): Handle artifacts & release
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxuser committed Aug 19, 2024
1 parent 0da7232 commit a1fcbf5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a1fcbf5

Please sign in to comment.