Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

ci: update release-nightly.yml (#592)

白熱92fd0ffb332e
diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml
index 851db7b981..5c7c2b1f42 100644
--- a/.github/workflows/release-nightly.yml
+++ b/.github/workflows/release-nightly.yml
@@ -2,7 +2,7 @@ name: 🥷 Release Nightly
on:
schedule:
- - cron: '0 19 * * *'
+ - cron: '30 1 * * *'
permissions:
contents: read
@@ -70,10 +70,11 @@ jobs:
run: pnpm run build
- name: Set publishing config
- run: |
- echo '\n${{ secrets.VERDACCIO_URL }}:_authToken=${{ secrets.VERDACCIO_TOKEN }}' >> .npmrc
- echo '\nregistry=https:${{ secrets.VERDACCIO_URL }}' >> .npmrc
-
+ run: pnpm config set '${NODE_REGISTRY}:_authToken' "${NODE_AUTH_TOKEN}"
+ env:
+ NODE_REGISTRY: ${{ secrets.VERDACCIO_URL }}
+ NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
+
- name: Publish
run: pnpm publish --access public --tag nightly -r