Skip to content

Commit

Permalink
OXDEV-7707: Add storefront_version as input to schema workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelOxid committed Jan 2, 2024
1 parent e947fb8 commit 7cd81ba
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ env:

on:
workflow_dispatch:

storefront_version:
description: 'Storefront Version for schema'
required: true
default: 'latest'
type: string

jobs:
build:
Expand Down Expand Up @@ -64,7 +68,7 @@ jobs:
- name: Install module and dependencies
run: |
docker-compose exec -T php composer require oxid-esales/graphql-storefront:${{ github.ref_name }} --no-update
docker-compose exec -T php composer require oxid-esales/graphql-storefront:${{ inputs.storefront_version }} --no-update
docker-compose exec -T php composer update --no-interaction
- name: Reset shop
Expand Down

0 comments on commit 7cd81ba

Please sign in to comment.