File tree 1 file changed +3
-10
lines changed
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 15
15
16
16
- uses : actions/checkout@v4
17
17
18
-
19
-
20
18
- name : Get Next version
21
19
id : get-version
22
20
uses :
ietf-tools/[email protected]
25
23
branch : ${{ github.ref }}
26
24
noVersionBumpBehavior : ' current'
27
25
28
- - name : debug
29
- run : |
30
- echo ${{ steps.get-version.outputs.next }}
31
- echo ${{ steps.get-version.outputs.bump }}
32
-
33
26
- name : Set up Go
34
27
uses : actions/setup-go@v4
35
28
with :
@@ -38,15 +31,15 @@ jobs:
38
31
- name : Make build folder
39
32
run : mkdir build
40
33
41
- - name : ls debug
42
- run : ls -a && pwd
43
-
44
34
- name : Update version in main.go
45
35
shell : bash
46
36
run : |
47
37
new_version=${{ steps.get-version.outputs.nextStrict }}
48
38
sed -i "s/const version = \"[0-9]*\.[0-9]*\.[0-9]*\"/const version = \"$new_version\"/g" ${{ github.workspace }}/main.go
49
39
40
+ - name : Debug
41
+ run : cat ${{ github.workspace}}/main.go
42
+
50
43
- name : Build for Windows (amd64)
51
44
run : |
52
45
env GOOS=windows GOARCH=amd64 go build -o /home/runner/work/wowtools/wowtools/build/wowtools.exe
You can’t perform that action at this time.
0 commit comments