diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c585df93d..32d006224 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40650659e..a787a51f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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