File tree Expand file tree Collapse file tree 3 files changed +36
-4
lines changed
Expand file tree Collapse file tree 3 files changed +36
-4
lines changed Original file line number Diff line number Diff line change 11name : Pull Request
2-
2+ run-name : Pull Request on ${{ github.ref_name }} by @${{ github.actor }}
33
44on :
55 - pull_request
1010
1111 validate :
1212 runs-on :
13- - macos -latest
13+ - windows -latest
1414 timeout-minutes : 15
1515 steps :
1616 - name : Checkout Code
2222 - name : Vet
2323 run : go vet ./...
2424 - name : Build
25- run : go build -v -o runsyncapps ./cmd
25+ run : go build -v -o runsyncapps -ldflags="-H windowsgui" ./cmd
2626
2727 vulnerability-check :
2828 runs-on :
Original file line number Diff line number Diff line change 1+ name : Release
2+ run-name : Release on ${{ github.ref_name }} by @${{ github.actor }}
3+
4+ on :
5+ pull_request :
6+ types :
7+ - closed
8+ branches :
9+ - main
10+
11+
12+ jobs :
13+
14+ release :
15+ if : github.event.pull_request.merged == true
16+ runs-on :
17+ - ubuntu-latest
18+ timeout-minutes : 15
19+ steps :
20+ - name : Checkout Code
21+ uses : actions/checkout@v4
22+ with :
23+ ref : ${{ github.event.pull_request.merge_commit_sha }}
24+ fetch-depth : ' 0'
25+ - name : Bump version and push tag
26+ uses :
anothrNick/[email protected] 27+ env :
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29+ WITH_V : true
30+ DRY_RUN : true
Original file line number Diff line number Diff line change @@ -5,9 +5,11 @@ This small application allows to start multiple applications at once and if one
55## Bulding
66
77``` shell
8- go build -o=" runsyncapps.exe" -ldflags= " -H windowsgui " ./cmd/
8+ go build -o=" runsyncapps.exe" ./cmd/
99```
1010
11+ You can add the buyild flag ` -ldflags="-H windowsgui" ` to avoid the console to open when starting the app.
12+
1113## Usage
1214
1315``` shell
You can’t perform that action at this time.
0 commit comments