Skip to content

Commit e0a6faf

Browse files
committed
more targets
1 parent 0c2a283 commit e0a6faf

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/myrelease.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ jobs:
5151
[pscustomobject]@{GOOS="linux";GOARCH="amd64"},
5252
[pscustomobject]@{GOOS="linux";GOARCH="386"},
5353
[pscustomobject]@{GOOS="darwin";GOARCH="arm64"},
54-
[pscustomobject]@{GOOS="darwin";GOARCH="amd64"}
54+
[pscustomobject]@{GOOS="darwin";GOARCH="amd64"},
55+
[pscustomobject]@{GOOS="freebsd";GOARCH="386"},
56+
[pscustomobject]@{GOOS="freebsd";GOARCH="amd64"},
57+
[pscustomobject]@{GOOS="solaris";GOARCH="amd64"}
5558
)
5659
foreach ($target in $targets){
5760
$env:GOOS=$target.GOOS
@@ -73,7 +76,7 @@ jobs:
7376
run: |
7477
git tag ${{ steps.bumpver.outputs.new_version }}
7578
git push --tags
76-
- name: release
79+
- name: Create release
7780
uses: softprops/action-gh-release@v1
7881
#if: startsWith(github.ref, 'refs/tags/')
7982
with:
@@ -87,4 +90,7 @@ jobs:
8790
${{env.BIN}}-${{ steps.bumpver.outputs.new_version }}-linux-amd64.zip
8891
${{env.BIN}}-${{ steps.bumpver.outputs.new_version }}-linux-386.zip
8992
${{env.BIN}}-${{ steps.bumpver.outputs.new_version }}-darwin-amd64.zip
90-
${{env.BIN}}-${{ steps.bumpver.outputs.new_version }}-darwin-arm64.zip
93+
${{env.BIN}}-${{ steps.bumpver.outputs.new_version }}-darwin-arm64.zip
94+
${{env.BIN}}-${{ steps.bumpver.outputs.new_version }}-freebsd-amd64.zip
95+
${{env.BIN}}-${{ steps.bumpver.outputs.new_version }}-freebsd-386.zip
96+
${{env.BIN}}-${{ steps.bumpver.outputs.new_version }}-solaris-amd64.zip

0 commit comments

Comments
 (0)