Skip to content

Commit aa116ca

Browse files
修复 release
1 parent c127479 commit aa116ca

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

.github/workflows/go-release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ on:
33
push:
44
tags:
55
- 'v*'
6-
76
jobs:
87
release:
98
runs-on: ubuntu-latest
@@ -22,9 +21,4 @@ jobs:
2221
id: create_release
2322
uses: softprops/action-gh-release@v2
2423
with:
25-
tag_name: ${{ github.ref }}
26-
name: Release ${{ github.ref_name }}
27-
draft: false
28-
prerelease: false
29-
files: |
30-
dist/*.tar.gz
24+
files: dist/*.tar.gz

.github/workflows/go-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ name: Go Test
22
on:
33
push:
44
branches: [ "main" ]
5+
paths:
6+
- '**.go'
7+
- 'go.mod'
58
pull_request:
69
branches: [ "main" ]
10+
paths:
11+
- '**.go'
12+
- 'go.mod'
713

814
jobs:
915
test:

Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ test:
4141
.PHONY: releases
4242
releases:
4343
@make release GOOS=linux GOARCH=amd64 && \
44-
make release GOOS=linux GOARCH=386 && \
4544
make release GOOS=linux GOARCH=arm64 && \
4645
make release GOOS=linux GOARCH=loong64 && \
47-
make release GOOS=darwin GOARCH=amd64 && \
48-
make release GOOS=darwin GOARCH=arm64 && \
4946
make release GOOS=windows GOARCH=amd64
50-
51-

0 commit comments

Comments
 (0)