Skip to content

Commit

Permalink
feat: MacOS build ci
Browse files Browse the repository at this point in the history
  • Loading branch information
theProgrammerDavid committed Dec 11, 2021
1 parent d0f4c65 commit 363572b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,8 @@ jobs:
run: |
cd build
make -j$(nproc)
- name: Package Project
run: |
cd build
cpack -G DragNDrop
15 changes: 14 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: release
on:
push:
tags:
Expand Down Expand Up @@ -74,4 +74,17 @@ jobs:
run: |
cd build
make -j$(nproc)
- name: Package Project
run: |
cd build
cpack -G DragNDrop
- name: Build Package
run: |
cd build && cpack -C Release
- name: Release
uses: softprops/action-gh-release@v1
with:
files: 'build/*.dmg'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 363572b

Please sign in to comment.