Skip to content

feat: combine compose and update workflows #1

feat: combine compose and update workflows

feat: combine compose and update workflows #1

Workflow file for this run

name: Update Workflow
on:
workflow_call:
secrets:
GRAPH_FEDERATOR:
required: true
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/[email protected]
- name: Create Test Subgraph schema
run: >
echo "
schema {
query: Query
}
type Query {
_empty: String
}
" > test-schema.graphql
- name: Upload Test Subgraph schema
uses: actions/[email protected]
with:
name: test-update-schema
path: test-schema.graphql
- name: Update Supergraph
uses: .
with:
name: test
routing-url: https://example.com/graphql
subgraph-schema-artifact: test-compose-schema
subgraph-schema-filename: test-schema.graphql
supergraph-schema-artifact: compose-supergraph
github-app-id: 1010045
github-app-private-key: ${{ secrets.GRAPH_FEDERATOR }}
publish: false