diff --git a/.github/workflows/upload-schema-artifact.yml b/.github/workflows/upload-schema-artifact.yml index 59cb9593..f0a28ba2 100644 --- a/.github/workflows/upload-schema-artifact.yml +++ b/.github/workflows/upload-schema-artifact.yml @@ -1,8 +1,10 @@ name: Upload Schema Artifact on: - release: - types: [ published ] + workflow_run: + workflows: ["Release"] + types: + - completed jobs: run: @@ -36,4 +38,4 @@ jobs: with: files: /tmp/schema.graphql env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}