We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13363b2 commit 01dac8cCopy full SHA for 01dac8c
.github/workflows/release.yml
@@ -1,29 +1,15 @@
1
-name: Go Module Release
+name: Main
2
3
on:
4
push:
5
tags:
6
- - 'v*'
+ - "v*.*.*"
7
8
jobs:
9
- release:
+ build:
10
runs-on: ubuntu-latest
11
-
12
steps:
13
- - name: Checkout code
+ - name: Checkout
14
uses: actions/checkout@v4
15
16
- - name: Setup Go
17
- uses: actions/setup-go@v4
18
- with:
19
- go-version: '1.23'
20
21
- - name: Build and Test
22
- run: |
23
- go mod tidy
24
- go test ./...
25
26
- - name: Publish Go Module
27
28
- git tag $(git describe --tags --abbrev=0)
29
- git push origin --tags
+ - name: Release
+ uses: softprops/action-gh-release@v2
0 commit comments