Skip to content

Commit ef4aad0

Browse files
committed
[PLUTO-1411] debug
1 parent ab6e889 commit ef4aad0

File tree

1 file changed

+3
-36
lines changed

1 file changed

+3
-36
lines changed

.github/workflows/it-test.yml

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,7 @@ on:
77
push:
88

99
jobs:
10-
build:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- name: Checkout code
14-
uses: actions/checkout@v4
15-
16-
- name: Set up Go
17-
uses: actions/setup-go@v5
18-
with:
19-
go-version: '1.21'
20-
cache: true
21-
22-
- name: Build CLI for Linux
23-
run: |
24-
GOOS=linux GOARCH=amd64 go build -o cli-v2-linux ./cli-v2.go
25-
26-
- name: Build CLI for Windows
27-
run: |
28-
GOOS=windows GOARCH=amd64 go build -o cli-v2.exe ./cli-v2.go
29-
30-
- name: Build CLI for macOS
31-
run: |
32-
GOOS=darwin GOARCH=amd64 go build -o cli-v2-macos ./cli-v2.go
33-
34-
- name: Upload CLI binaries
35-
uses: actions/upload-artifact@v4
36-
with:
37-
name: cli-binaries
38-
path: |
39-
cli-v2-linux
40-
cli-v2.exe
41-
cli-v2-macos
42-
4310
test:
44-
needs: build
4511
runs-on: ${{ matrix.os }}
4612
strategy:
4713
matrix:
@@ -56,9 +22,10 @@ jobs:
5622
go-version: '1.21'
5723
cache: true
5824

59-
- name: Download CLI binaries
60-
uses: actions/download-artifact@v4
25+
- name: Download CLI binaries from go workflow
26+
uses: dawidd6/action-download-artifact@v2
6127
with:
28+
workflow: go.yml
6229
name: cli-binaries
6330
path: .
6431

0 commit comments

Comments
 (0)