Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
ci: attach schema.graphql to GitHub releases (#19516)
Lukasz Ostrowski871173f898d5
diff --git a/.github/workflows/create-tag-with-release-pr.yml b/.github/workflows/create-tag-with-release-pr.ymlindex bb42f95918..2c698971d0 100644--- a/.github/workflows/create-tag-with-release-pr.yml+++ b/.github/workflows/create-tag-with-release-pr.yml@@ -64,12 +64,18 @@ jobs:ref: `refs/tags/${process.env.VERSION}`,sha: context.sha})+ - name: Checkout tagged commit+ uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0+ with:+ ref: ${{ github.sha }}+ sparse-checkout: |+ saleor/graphql/schema.graphql- name: Create github releaseenv:VERSION: ${{ steps.set-version.outputs.VERSION }}IS_LATEST: ${{ steps.check-latest.outputs.IS_LATEST }}run: |- gh release create -d "$VERSION" --repo="$GITHUB_REPOSITORY" --latest="$IS_LATEST" --generate-notes --verify-tag+ gh release create -d "$VERSION" --repo="$GITHUB_REPOSITORY" --latest="$IS_LATEST" --generate-notes --verify-tag saleor/graphql/schema.graphqlpublish:needs: [create-release-tag]