From dd3f1b4bd453688e332c17535ebd05d84390524a Mon Sep 17 00:00:00 2001 From: Zihua Li Date: Tue, 16 Jan 2024 14:55:15 +0800 Subject: [PATCH] Pass version argument to release cli --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f172c580c6..b88eed9a2a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,12 +13,12 @@ on: required: true jobs: - test: - uses: ./.github/workflows/_test.yml + # test: + # uses: ./.github/workflows/_test.yml release: runs-on: ubuntu-latest - needs: test + # needs: test steps: - name: Git checkout @@ -30,7 +30,7 @@ jobs: node-version: 20 - run: npm ci - - run: ./scripts/release.js ${{ github.event.inputs.version }} ${{ github.event.inputs.dry-run == 'true' && '--dry-run' || '' }} + - run: ./scripts/release.js --version ${{ github.event.inputs.version }} ${{ github.event.inputs.dry-run == 'true' && '--dry-run' || '' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}