fix/ci-pub (#10)
Reviewed-on: McPeakDev/nychthemeron#10 Co-authored-by: Matthew L McPeak <m.mcpeak98@icloud.com> Co-committed-by: Matthew L McPeak <m.mcpeak98@icloud.com>
This commit is contained in:
parent
1b320b62d8
commit
116d6b7c38
1 changed files with 6 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ jobs:
|
||||||
- name: Upload dist
|
- name: Upload dist
|
||||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: ${{ steps.meta.outputs.name }}.zip
|
||||||
path: packages/library/dist
|
path: packages/library/dist
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
|
@ -74,6 +74,11 @@ jobs:
|
||||||
run: bun pm version "${GITHUB_REF_NAME#v}" --no-git-tag-version
|
run: bun pm version "${GITHUB_REF_NAME#v}" --no-git-tag-version
|
||||||
working-directory: packages/library
|
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
|
- name: Configure registry auth
|
||||||
run: echo "//git.mcpeakdev.com/api/packages/mcpeakdev/npm/:_authToken=${FORGEJO_TOKEN}" > .npmrc
|
run: echo "//git.mcpeakdev.com/api/packages/mcpeakdev/npm/:_authToken=${FORGEJO_TOKEN}" > .npmrc
|
||||||
working-directory: packages/library
|
working-directory: packages/library
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue