Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
Fix publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
seggewiss committed Oct 9, 2023
1 parent 91027af commit 254a578
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/npm-publish.yml
Expand Up @@ -4,11 +4,9 @@ on: push

jobs:
publish:
if: github.ref == 'refs/heads/main'
# if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -36,7 +34,7 @@ jobs:
access: "public"
provenance: true
- name: Create Release
if: steps.publish.outputs.type != 'none'
if: ${{ steps.publish.outputs.type }}
id: create_release
uses: actions/create-release@v1
env:
Expand Down

0 comments on commit 254a578

Please sign in to comment.