File tree 1 file changed +19
-19
lines changed
1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change 20
20
run : |
21
21
echo "TAG_NAME=${GITHUB_REF_NAME}" >> $GITHUB_ENV
22
22
echo "Ref: $GITHUB_REF"
23
-
24
- # Assuming GITHUB_REF_NAME or another variable is correctly set to the tag name,
25
- # we then check if the tag matches the semantic version pattern.
26
23
- name : Check if tag is a version tag
27
24
id : tag_check
28
25
run : |
33
30
fi
34
31
env :
35
32
TAG_NAME : ${{ github.event.workflow_run.head_commit.message }}
36
-
37
-
38
33
- name : Determine Go version
39
34
id : set_goversion
40
35
run : |
@@ -45,17 +40,22 @@ jobs:
45
40
fi
46
41
47
42
release :
48
- runs-on : ubuntu-latest
49
- strategy :
50
- matrix :
51
- # build and publish in parallel: linux/amd64, linux/arm64, darwin/amd64, darwin/arm64
52
- goos : [darwin]
53
- goarch : [amd64, arm64]
54
- steps :
55
- - uses : actions/checkout@v4
56
- - uses : wangyoucao577/go-release-action@v1
57
- with :
58
- github_token : ${{ secrets.GITHUB_TOKEN }}
59
- goos : ${{ matrix.goos }}
60
- goarch : ${{ matrix.goarch }}
61
- goversion : ${{ steps.set_goversion.outputs.goversion }}
43
+ runs-on : ubuntu-latest
44
+ strategy :
45
+ matrix :
46
+ goos : [darwin]
47
+ goarch : [amd64, arm64]
48
+ steps :
49
+ - uses : actions/checkout@v4
50
+ - uses : wangyoucao577/go-release-action@v1
51
+ with :
52
+ github_token : ${{ secrets.GITHUB_TOKEN }}
53
+ goos : ${{ matrix.goos }}
54
+ goarch : ${{ matrix.goarch }}
55
+ goversion : ${{ steps.set_goversion.outputs.goversion }}
56
+
57
+ # homebrew:
58
+ # runs-on: ubuntu-latest
59
+ # run: |
60
+
61
+
You can’t perform that action at this time.
0 commit comments