Skip to content

Commit

Permalink
fix: add schema build dependency to release (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
gamunu committed Apr 12, 2024
1 parent 9dc6115 commit c14cf84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,4 @@ jobs:
with:
go-version-file: .go-version
- name: ${{ matrix.goos }} ${{ matrix.goarch }} build
run: |-
go build \
-trimpath \
-buildvcs=false \
-ldflags "-s -w"
delete-provider-schemas:
needs: build
runs-on: ubuntu-latest
steps:
- uses: geekyeggo/delete-artifact@24928e75e6e6590170563b8ddae9fac674508aa1 # v5.0.0
with:
name: provider-schema-data
run: go build -trimpath -buildvcs=false -ldflags "-s -w"
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
path: ./internal/schemas/data
retention-days: 1
release:
needs: generate-provider-schemas
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit c14cf84

Please sign in to comment.