add release to action #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build Project | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Use CMake Action | |
uses: threeal/[email protected] | |
with: | |
generator: MinGW Makefiles | |
run-build: true | |
- name: Zip Binaries | |
uses: vimtor/[email protected] | |
with: | |
files: bin | |
dest: executable.zip | |
# - name: Check Artifact | |
# uses: actions/[email protected] | |
# with: | |
# path: ${{ github.workspace }}/executable.zip | |
- name: Release | |
uses: softprops/[email protected] | |
with: | |
files: executable.zip |