Skip to content

Commit

Permalink
.exe for windows files
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-koshchei committed Oct 28, 2024
1 parent a0ad994 commit d6e22ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-bin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:

- name: Build Binaries
run: |
env GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -o email-switch-${{ matrix.os }}-${{ matrix.arch }} .
ext=${{ matrix.os == 'windows' && '.exe' || '' }}
env GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -o email-switch-${{ matrix.os }}-${{ matrix.arch }}$ext .
- name: Upload Release Assets
uses: svenstaro/upload-release-action@v2
Expand All @@ -35,3 +36,4 @@ jobs:
tag: ${{ github.ref }}
file: email-switch-*
file_glob: true
overwrite: true

0 comments on commit d6e22ae

Please sign in to comment.