Skip to content

Commit 6365083

Browse files
Go 1.23.6 for macOS
1 parent e452e4e commit 6365083

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ on:
55
release:
66
types: [published]
77
push:
8-
branches:
9-
- build
108
paths:
119
- ".github/workflows/release.yml"
1210
pull_request:
@@ -21,8 +19,8 @@ jobs:
2119
contents: write
2220
strategy:
2321
matrix:
24-
goos: [windows, linux]
25-
goarch: [amd64, 386]
22+
goos: [darwin]
23+
goarch: [amd64, arm64]
2624
buildtarget: ['go1.23.6']
2725
fail-fast: false
2826
env:
@@ -72,13 +70,11 @@ jobs:
7270
./*
7371
7472
- name: create ZIP archive
75-
if: github.event_name == 'release'
7673
shell: bash
7774
run: |
7875
zip -9vr ./go-for-win7-${{ env.ASSET_NAME }}.zip . -x "./.git/" "./.github/"
7976
8077
- name: Compute hashes for file
81-
if: github.event_name == 'release'
8278
run: |
8379
FILE=./go-for-win7-${{ env.ASSET_NAME }}.zip
8480
DGST=$FILE.dgst
@@ -89,7 +85,6 @@ jobs:
8985
9086
- name: Upload packages to release
9187
uses: svenstaro/upload-release-action@v2
92-
if: github.event_name == 'release'
9388
with:
9489
repo_token: ${{ secrets.GITHUB_TOKEN }}
9590
file: ./go-for-win7-${{ env.ASSET_NAME }}.zip*

0 commit comments

Comments
 (0)