Skip to content

Commit

Permalink
github: workflows: build: test builds; add macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
JPHutchins committed Oct 13, 2024
1 parent 26a2b7f commit be90f42
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ permissions:
on:
release:
types: [published]
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
name: Build executable 🔨
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -47,6 +51,7 @@ jobs:
run: echo "BUILD_NAME=$(ls dist | grep smpmgr-.*\.zip)" >> $GITHUB_OUTPUT

- name: Upload portable build 🚀
if: github.event_name == 'release' && github.event.action == 'published'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit be90f42

Please # to comment.