Skip to content

Commit e249f87

Browse files
committed
fix: add schema build dependency to release
1 parent b7feb0a commit e249f87

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

Diff for: .github/workflows/build.yml

+1-12
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,4 @@ jobs:
4949
with:
5050
go-version-file: .go-version
5151
- name: ${{ matrix.goos }} ${{ matrix.goarch }} build
52-
run: |-
53-
go build \
54-
-trimpath \
55-
-buildvcs=false \
56-
-ldflags "-s -w"
57-
delete-provider-schemas:
58-
needs: build
59-
runs-on: ubuntu-latest
60-
steps:
61-
- uses: geekyeggo/delete-artifact@24928e75e6e6590170563b8ddae9fac674508aa1 # v5.0.0
62-
with:
63-
name: provider-schema-data
52+
run: go build -trimpath -buildvcs=false -ldflags "-s -w"

Diff for: .github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
path: ./internal/schemas/data
2626
retention-days: 1
2727
release:
28+
needs: generate-provider-schemas
2829
runs-on: ubuntu-latest
2930
steps:
3031
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)