Skip to content

Commit e0c7593

Browse files
committed
Remove building jobs.
1 parent 99f71c5 commit e0c7593

File tree

1 file changed

+0
-66
lines changed

1 file changed

+0
-66
lines changed

.github/workflows/launcher_go.yml

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -45,69 +45,3 @@ jobs:
4545
- name: Run tests
4646
working-directory: ./launcher_go/v2
4747
run: go test ./...
48-
49-
build_latest:
50-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
51-
permissions:
52-
contents: write
53-
runs-on: ubuntu-latest
54-
needs: [lint, test]
55-
strategy:
56-
matrix:
57-
goos: [linux, darwin]
58-
goarch: ["386", amd64, arm64]
59-
exclude:
60-
- goarch: "386"
61-
goos: darwin
62-
steps:
63-
- uses: actions/checkout@v4
64-
- uses: wangyoucao577/go-release-action@v1
65-
with:
66-
github_token: ${{ secrets.GITHUB_TOKEN }}
67-
goos: ${{ matrix.goos }}
68-
goarch: ${{ matrix.goarch }}
69-
project_path: ./launcher_go/v2
70-
binary_name: launcher2
71-
overwrite: true
72-
release_tag: latest
73-
74-
add_version:
75-
runs-on: ubuntu-latest
76-
needs: build_latest
77-
permissions:
78-
contents: write
79-
steps:
80-
- uses: actions/checkout@v4
81-
- uses: actions/setup-go@v5
82-
with:
83-
go-version: ">=1.21.0"
84-
- run: go run ./... --version > ../../launcher_version.txt
85-
working-directory: ./launcher_go/v2
86-
- name: upload version
87-
uses: softprops/action-gh-release@v2
88-
with:
89-
tag_name: latest
90-
files: launcher_version.txt
91-
92-
build_release:
93-
if: github.event_name == 'release'
94-
permissions:
95-
contents: write
96-
runs-on: ubuntu-latest
97-
needs: [lint, test]
98-
strategy:
99-
matrix:
100-
goos: [linux, darwin]
101-
goarch: ["386", amd64, arm64]
102-
exclude:
103-
- goarch: "386"
104-
goos: darwin
105-
steps:
106-
- uses: actions/checkout@v4
107-
- uses: wangyoucao577/go-release-action@v1
108-
with:
109-
github_token: ${{ secrets.GITHUB_TOKEN }}
110-
goos: ${{ matrix.goos }}
111-
goarch: ${{ matrix.goarch }}
112-
project_path: ./launcher_go/v2
113-
binary_name: launcher2

0 commit comments

Comments
 (0)