Skip to content

Commit fee1184

Browse files
committed
fix
1 parent 660f1e6 commit fee1184

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/breaking-changes.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ jobs:
3131
echo "JSON<<EOF"
3232
go run tools/cmd/breakvalidator/main.go generate
3333
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
3540
detect-breaking-changes:
3641
name: Detect Breaking Changes
3742
runs-on: ubuntu-latest
@@ -46,10 +51,12 @@ jobs:
4651
uses: actions/setup-go@v5
4752
with:
4853
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
4959
- name: Run breaking changes validator
50-
env:
51-
JSON: ${{ needs.breaking-changes-manifest.outputs.breaking-changes }}
5260
run: |
5361
set -e
54-
echo "$JSON" > main.json
5562
go run tools/cmd/breakvalidator/main.go validate < main.json

0 commit comments

Comments
 (0)