fix: CI
This commit is contained in:
parent
9971290498
commit
7c3bb85da5
1 changed files with 6 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
- name: Upload dist
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: dist
|
||||
name: ${{ steps.meta.outputs.name }}.zip
|
||||
path: packages/library/dist
|
||||
|
||||
publish:
|
||||
|
|
@ -74,6 +74,11 @@ jobs:
|
|||
run: bun pm version "${GITHUB_REF_NAME#v}" --no-git-tag-version
|
||||
working-directory: packages/library
|
||||
|
||||
- name: Debug token presence
|
||||
run: '[ -n "$FORGEJO_TOKEN" ] && echo "token set, length: ${#FORGEJO_TOKEN}" || echo "token EMPTY"'
|
||||
env:
|
||||
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
|
||||
|
||||
- name: Configure registry auth
|
||||
run: echo "//git.mcpeakdev.com/api/packages/mcpeakdev/npm/:_authToken=${FORGEJO_TOKEN}" > .npmrc
|
||||
working-directory: packages/library
|
||||
|
|
|
|||
Loading…
Reference in a new issue