Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .github/workflows/parity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,22 @@ jobs:
include:
- goos: linux
goarch: amd64
ext: ""
- goos: linux
goarch: arm64
ext: ""
- goos: darwin
goarch: amd64
ext: ""
- goos: darwin
goarch: arm64
ext: ""
- goos: windows
goarch: amd64
ext: ".exe"
- goos: windows
goarch: arm64
ext: ".exe"
steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -96,12 +106,13 @@ jobs:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: "0"
BIN_EXT: ${{ matrix.ext }}
run: |
mkdir -p dist
go build -trimpath -ldflags "-s -w" -o "dist/apprise-go-${GOOS}-${GOARCH}" ./cmd/apprise
go build -trimpath -ldflags "-s -w" -o "dist/apprise-go-${GOOS}-${GOARCH}${BIN_EXT}" ./cmd/apprise

- name: Upload binary artifact
uses: actions/upload-artifact@v6
with:
name: apprise-go-${{ matrix.goos }}-${{ matrix.goarch }}
path: dist/apprise-go-${{ matrix.goos }}-${{ matrix.goarch }}
name: apprise-go-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.ext }}
path: dist/apprise-go-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.ext }}
17 changes: 15 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,27 @@ jobs:
- goos: linux
goarch: amd64
notarize: false
ext: ""
- goos: linux
goarch: arm64
notarize: false
ext: ""
- goos: darwin
goarch: amd64
notarize: true
ext: ""
- goos: darwin
goarch: arm64
notarize: true
ext: ""
- goos: windows
goarch: amd64
notarize: false
ext: ".exe"
- goos: windows
goarch: arm64
notarize: false
ext: ".exe"
steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -42,9 +54,10 @@ jobs:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: "0"
BIN_EXT: ${{ matrix.ext }}
run: |
mkdir -p dist
go build -trimpath -ldflags "-s -w" -o "dist/apprise-go-${GOOS}-${GOARCH}" ./cmd/apprise
go build -trimpath -ldflags "-s -w" -o "dist/apprise-go-${GOOS}-${GOARCH}${BIN_EXT}" ./cmd/apprise

- name: Write signing certificate
if: matrix.notarize
Expand Down Expand Up @@ -101,4 +114,4 @@ jobs:
if: github.event_name == 'release' && !matrix.notarize
uses: softprops/action-gh-release@v2
with:
files: dist/apprise-go-${{ matrix.goos }}-${{ matrix.goarch }}
files: dist/apprise-go-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.ext }}