From ae7218b78c5d8e8b470fe0b6b3a6df6a420422cc Mon Sep 17 00:00:00 2001 From: Ioannis Tsiakkas Date: Sat, 24 Feb 2024 13:31:47 +0200 Subject: [PATCH] Update linux and macos ext --- .github/workflows/go.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ac2b321..864d991 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 @@ -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