Skip to content

Commit

Permalink
fix: use semantic release directly and add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
recalcitrantsupplant committed Jan 10, 2025
1 parent 7d2f956 commit 8c7145d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: npm install -g semantic-release
- name: Release

- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release

- name: Debug Output
run: |
echo "New release published: ${{ steps.semantic.outputs.new_release_published }}"
echo "New release version: ${{ steps.semantic.outputs.new_release_version }}"
docker:
needs: release
Expand Down

0 comments on commit 8c7145d

Please sign in to comment.