Skip to content

Apollo Studio Schema Changes #1132

Apollo Studio Schema Changes

Apollo Studio Schema Changes #1132

Workflow file for this run

name: Apollo Studio Schema Changes
on:
workflow_run:
workflows: ["Kitsu Test Suite"]
types:
- completed
env:
BUNDLE_GITHUB__HTTPS: true
LOG_LEVEL: warn
jobs:
apollo-studio:
runs-on: ubuntu-latest
if: >
${{ github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Rover
run: |
curl -sSL https://rover.apollo.dev/nix/v0.14.0 | sh
echo "$HOME/.rover/bin" >> $GITHUB_PATH
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
workflow: "Kitsu Test Suite"
workflow_conclusion: success
run_id: ${{github.event.workflow_run.id}}
name: graphql-schema-ruby-3.1
- name: Display structure of downloaded files
run: ls -R
- name: Upload GraphQL Schema
env:
APOLLO_KEY: ${{ secrets.APOLLO_KEY }}
run: rover graph publish kitsu@current --schema ./schema.graphql