Skip to content

Commit

Permalink
chore: fix issue in xdl schema manual update
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Jul 3, 2022
1 parent 04f79ea commit 6100163
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/schema-xdl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
uses: ./.github/actions/setup-project

- name: 👷 Generate older schema
if: ${{ github.event_name != 'schedule' }}
if: ${{ github.event_name != 'schedule' && github.event.inputs.version != 'latest' }}
run: node ./scripts/schema-expo-xdl.js --sdk-version="${{ github.event.inputs.version }}"

- name: 👷 Generate latest schema
if: ${{ github.event_name == 'schedule' }}
if: ${{ github.event_name == 'schedule' || github.event.inputs.version == 'latest' }}
run: node ./scripts/schema-expo-xdl.js --latest

- name: 📋 Upload schema
Expand Down

0 comments on commit 6100163

Please sign in to comment.