Skip to content

Commit 173e7b2

Browse files
Copilotcompulim
andcommitted
Fix step field order: name before if
Co-authored-by: compulim <1622400+compulim@users.noreply.github.com>
1 parent 6899dc5 commit 173e7b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ jobs:
6767
run: |
6868
echo package-name=`tar --extract --file=\`ls ./*.tgz\` --to-stdout package/package.json | jq -r .name` >> $GITHUB_OUTPUT
6969
echo version=`tar --extract --file=\`ls ./*.tgz\` --to-stdout package/package.json | jq -r .version` >> $GITHUB_OUTPUT
70-
- if: ${{ contains(steps.get-version.outputs.version, '-') }}
71-
name: Validate version
70+
- name: Validate version
71+
if: ${{ contains(steps.get-version.outputs.version, '-') }}
7272
run: |
7373
echo Version number must not be a prerelease.
7474
exit 1

0 commit comments

Comments
 (0)