Skip to content

Commit

Permalink
Update diff-schema.yml
Browse files Browse the repository at this point in the history
Signed-off-by: 1000TurquoisePogs <[email protected]>
  • Loading branch information
1000TurquoisePogs authored Nov 8, 2023
1 parent f3df0be commit 63a6791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/diff-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
node-version: 18
- name: '[Prep 3] Get to version'
run: node -e "const currentVersion = require('manifest.json.template').version; console.log('${{ github.event.inputs.TO_COMMIT }}'.length > 0 ? 'TO=${{ github.event.inputs.TO_COMMIT }}' : 'TO='+currentVersion);" >> $GITHUB_ENV
run: node -e "const currentVersion = require('manifest.json.template').version; if ('${{ github.event.inputs.TO_COMMIT }}'.length > 0) { console.log('TO=${{ github.event.inputs.TO_COMMIT }}'} else { console.log('TO='+currentVersion) }" >> $GITHUB_ENV
- name: '[Prep 4] Get from version'
run: node -e "if ('${{ github.event.inputs.FROM_COMMIT }}'.length > 0) { console.log('FROM=${{ github.event.inputs.FROM_COMMIT }}') } else { let parts = envs.TO_COMMIT.split('.'); parts[1]--; console.log('FROM='+parts.join('.')); }" >> $GITHUB_ENV
- name: '[Build] Make diff'
Expand Down

0 comments on commit 63a6791

Please sign in to comment.