Skip to content

Commit

Permalink
ci: Fix publish error
Browse files Browse the repository at this point in the history
  • Loading branch information
lasuillard committed Mar 30, 2024
1 parent c13d3e1 commit 003d7ac
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
with:
node-version-file: .node-version
cache: yarn
registry-url: https://npm.pkg.github.com
scope: '@lasuillard'

- name: Install deps
run: yarn install --frozen-lockfile
Expand All @@ -34,30 +36,6 @@ jobs:
generate_release_notes: true
files: dist

- name: Upload release distributions
uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/

publish-gh:
name: Publish to GitHub Packages
runs-on: ubuntu-latest
needs:
- release
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Retrieve release distributions
uses: actions/download-artifact@v4
with:
name: release-dists
path: dist/

- name: Publish package
env:
NODE_AUTH_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit 003d7ac

Please sign in to comment.