Skip to content

Commit

Permalink
feat: Create release on push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
ultracodez committed Jul 31, 2023
1 parent d0c362d commit 3a59946
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: build-windows
path: out/make/zip/**/*.*
path: out/make/zip/win32/**/*.*
build-macos:

runs-on: macos-latest
Expand Down Expand Up @@ -104,8 +104,19 @@ jobs:

name: build-macos

path: out/make/zip/**/*.*

path: out/make/zip/darwin/**/*.*

create-release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v3
- name: Create release with artifacts
uses: ncipollo/release-action@v1
with:
artifacts: "**/*.*"
bodyFile: "body.md"



0 comments on commit 3a59946

Please sign in to comment.