Skip to content

Commit

Permalink
Improve MS build in build workflow to build as production only on rel…
Browse files Browse the repository at this point in the history
…eases
  • Loading branch information
thomas-senechal committed Jan 23, 2024
1 parent 3e95f52 commit f47c28b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ jobs:
- name: Build binary for ${{ matrix.target }} on ${{ matrix.arch }}
shell: bash
run: |
task ${{ matrix.target }}:build-prod VERSION=${{ env.VERSION }} ARCH=${{ matrix.arch }}
cp ./build/massastation/massastation${{ matrix.ext }} .
task ${{ matrix.target }}:build VERSION=${{ env.VERSION }} ARCH=${{ matrix.arch }} PRODUCTION=${{ inputs.tag_name != '' }} BIN_DIR="."
- name: Package binary for ${{ matrix.target }} on ${{ matrix.arch}}
# We don't need to package for windows since Fyne package generates a similar .exe as go build.
if: matrix.target != 'windows'
Expand Down

0 comments on commit f47c28b

Please sign in to comment.