From 46d11b3fcb2e7e3a2003928b54bf858befbd89e6 Mon Sep 17 00:00:00 2001 From: Leecason Date: Fri, 3 Dec 2021 13:48:34 +0800 Subject: [PATCH] chore: add env --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f379a3..e964a40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ on: jobs: build: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 @@ -27,4 +28,7 @@ jobs: - name: release run: yarn semantic-release + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}