fix workflow errors
Release / release (push) Failing after 43s

This commit is contained in:
2025-12-16 23:04:52 -08:00
parent 0cb21b3c40
commit 5b849e4fbe
+4 -2
View File
@@ -13,7 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- run: jq --arg version $(git describe --tags --abbrev=0 HEAD) '.version=$version' package.json
- run: jq --arg version $(git describe --tags --abbrev=0 HEAD) '.version=$version' package.json > package.json
- run: npm config set registry https://gitea.sugoidogo.com/api/packages/sugoidogo/npm/
- run: npm config set -- '//gitea.example.com/api/packages/sugoidogo/npm/:_authToken' "${{ env.PACKAGES_KEY }}"
- run: npm config set -- '//gitea.example.com/api/packages/sugoidogo/npm/:_authToken' "$PACKAGES_KEY"
env:
PACKAGES_KEY: ${{ secrets.PACKAGES_KEY }}
- run: npm publish