Skip to content

Commit

Permalink
πŸ”™ revert: GitHub Actions mod that didn't work a blood clot
Browse files Browse the repository at this point in the history
This reverts commit fc06cf5.
  • Loading branch information
Bottie McBotface committed Jan 9, 2025
1 parent fc06cf5 commit 921c160
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,4 @@ jobs:
- uses: actions/checkout@v4

- name: Publish package
id: publish
run: |
OUTPUT=$(npx jsr publish 2>&1)
echo "$OUTPUT"
if echo "$OUTPUT" | grep -q "Skipping, already published"; then
echo "SKIPPED=true" >> $GITHUB_OUTPUT
else
echo "SKIPPED=false" >> $GITHUB_OUTPUT
fi
- name: Check if skipped
if: steps.publish.outputs.SKIPPED == 'true'
run: exit 78 # old way to mark a job as skipped

run: npx jsr publish

0 comments on commit 921c160

Please sign in to comment.