Skip to content

Commit

Permalink
Update linux and macos ext
Browse files Browse the repository at this point in the history
  • Loading branch information
keybraker committed Feb 24, 2024
1 parent 732dd37 commit ae7218b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
OS: [linux, windows]
OS: [linux, windows, macos]
ARCH: [amd64]
steps:
- uses: actions/checkout@v4
Expand All @@ -27,8 +27,12 @@ jobs:
EXT=""
if [ "$GOOS" = "windows" ]; then
EXT=".exe"
elif [ "$GOOS" = "linux" ]; then
EXT=".bin"
elif [ "$GOOS" = "macos" ]; then
EXT=""
fi
go build -v -o mediarizer2-${{ matrix.ARCH }}-${{ matrix.OS }}$EXT ./app
go build -v -o mediarizer2-${{ matrix.OS }}-${{ matrix.ARCH }}$EXT ./app
# run: |
# env GOOS=${{ matrix.OS }} GOARCH=${{ matrix.ARCH }} go build -v -o mediarizer2-${{ matrix.ARCH }}-${{ matrix.OS }} ./app

Expand Down

0 comments on commit ae7218b

Please sign in to comment.