Skip to content

Commit 541e65b

Browse files
committed
refactor: simplify publish step by removing dry run logic and enhancing output messages
1 parent a370461 commit 541e65b

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -167,20 +167,9 @@ jobs:
167167
env:
168168
VSC_PAT: ${{ secrets.VSC_PAT }}
169169
run: |
170-
DRY_RUN="false"
171-
if [[ "${{ github.event_name }}" == "workflow_dispatch" && "${{ inputs.dry_run }}" == "true" ]]; then
172-
DRY_RUN="true"
173-
fi
174-
175170
VERSION="${{ needs.validate.outputs.version }}"
176-
echo "🔍 Publish v${VERSION} (dry=${DRY_RUN})"
177-
echo "VSC_PAT is ${VSC_PAT:+set}" # Will print 'set' if present
178-
179-
if [[ "$DRY_RUN" == "true" ]]; then
180-
echo "✨ Dry run - skipping actual publish"
181-
echo "status=success" >> $GITHUB_OUTPUT
182-
exit 0
183-
fi
171+
echo "🔍 Publish v${VERSION}"
172+
echo "VSC_PAT is ${VSC_PAT:+set}"
184173
185174
echo "🚀 Running vsce publish..."
186175
echo "VSIX files before publish:"

0 commit comments

Comments
 (0)