Skip to content

Commit

Permalink
Add OS to release file names (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
invliD committed Feb 24, 2024
1 parent beefc8f commit 7cd9ebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
go-version: '1.21'
- name: Build
run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -tags netgo,osusergo
- run: tar cvzf mdns2mqtt-${{ matrix.arch }}.tgz mdns2mqtt
- run: tar cvzf mdns2mqtt-${{ matrix.os }}-${{ matrix.arch }}.tgz mdns2mqtt
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: binary-${{ matrix.os }}-${{ matrix.arch }}
path: mdns2mqtt-${{ matrix.arch }}.tgz
path: mdns2mqtt-${{ matrix.os }}-${{ matrix.arch }}.tgz
if-no-files-found: error
- name: Debian package
if: matrix.os == 'linux'
Expand Down

0 comments on commit 7cd9ebb

Please sign in to comment.