Skip to content

Commit

Permalink
feat: skip rover download if already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Feb 5, 2025
1 parent 63f3bce commit 9fd142a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
routing-url: https://example.com/graphql
subgraph-schema-artifact: test-update-schema
subgraph-schema-filename: test-schema.graphql
supergraph-schema-artifact: compose-supergraph
supergraph-schema-artifact: compose-supergraph-without-app
publish: false

- name: Check Supergraph with App
Expand All @@ -47,7 +47,7 @@ jobs:
routing-url: https://example.com/graphql
subgraph-schema-artifact: test-update-schema
subgraph-schema-filename: test-schema.graphql
supergraph-schema-artifact: compose-supergraph
supergraph-schema-artifact: compose-supergraph-with-app
github-app-id: 1010045
github-app-private-key: ${{ secrets.GRAPH_FEDERATOR }}
publish: false
6 changes: 4 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ runs:
- name: Install Rover CLI
shell: bash
run: |
curl -sSL https://rover.apollo.dev/nix/latest | sh
echo "$HOME/.rover/bin" >> $GITHUB_PATH
if ! command -v rover 2>&1 > /dev/null; then
curl -sSL https://rover.apollo.dev/nix/latest | sh
echo "$HOME/.rover/bin" >> $GITHUB_PATH
fi
- name: Compose Supergraph Schema
shell: bash
Expand Down

0 comments on commit 9fd142a

Please sign in to comment.