File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 31
31
echo "JSON<<EOF"
32
32
go run tools/cmd/breakvalidator/main.go generate
33
33
echo "EOF"
34
- } >> "$GITHUB_OUTPUT"
34
+ } > main.json
35
+ - name : Upload manifest
36
+ uses : actions/upload-artifact@v4
37
+ with :
38
+ name : breaking-changes-manifest
39
+ path : main.json
35
40
detect-breaking-changes :
36
41
name : Detect Breaking Changes
37
42
runs-on : ubuntu-latest
@@ -46,10 +51,12 @@ jobs:
46
51
uses : actions/setup-go@v5
47
52
with :
48
53
go-version-file : go.mod
54
+ - name : Download manifest
55
+ uses : actions/download-artifact@v4
56
+ with :
57
+ name : breaking-changes-manifest
58
+ path : main.json
49
59
- name : Run breaking changes validator
50
- env :
51
- JSON : ${{ needs.breaking-changes-manifest.outputs.breaking-changes }}
52
60
run : |
53
61
set -e
54
- echo "$JSON" > main.json
55
62
go run tools/cmd/breakvalidator/main.go validate < main.json
You can’t perform that action at this time.
0 commit comments