fix: ci
This commit is contained in:
parent
217fddac0c
commit
8f835eb166
1 changed files with 6 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
needs: build
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
runs-on: ubuntu-latest
|
||||
container: oven/bun:1
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Install git
|
||||
run: apt-get update && apt-get install -y git nodejs npm
|
||||
|
|
@ -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