2021-09-18 20:28:34 +00:00
|
|
|
name: Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- "v*.*.*"
|
2022-11-25 17:23:27 +00:00
|
|
|
- "v*.*.*-beta.*"
|
|
|
|
- "v*.*.*-rc.*"
|
2021-09-18 20:28:34 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2022-11-23 21:33:23 +00:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
build: [
|
2022-11-25 17:23:27 +00:00
|
|
|
{ platform: linux/amd64, os: ubuntu-latest },
|
|
|
|
{ platform: windows/amd64, os: windows-latest },
|
|
|
|
{ platform: darwin/universal, os: macos-latest }
|
2022-11-23 21:33:23 +00:00
|
|
|
]
|
|
|
|
runs-on: ${{ matrix.build.os }}
|
2021-09-18 20:28:34 +00:00
|
|
|
steps:
|
2022-11-23 21:33:23 +00:00
|
|
|
- uses: actions/checkout@v2
|
2022-11-25 18:17:49 +00:00
|
|
|
- uses: ashkeel/wails-build-action@8b31d0d320d1b4b4def7d9f3a8a141b257b17391
|
2021-09-18 20:28:34 +00:00
|
|
|
with:
|
2022-11-25 17:23:27 +00:00
|
|
|
build-name: strimertul
|
2022-11-23 21:33:23 +00:00
|
|
|
build-platform: ${{ matrix.build.platform }}
|
2022-11-25 17:23:27 +00:00
|
|
|
windows-nsis-installer: false
|
|
|
|
macos-package-type: dmg
|
2022-11-25 18:07:38 +00:00
|
|
|
use-upx: true
|
2022-11-25 17:23:27 +00:00
|
|
|
go-version: 1.19
|