From 67f4b9dad65109c12a0a6221670760d9196d0d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=9E=97=E7=91=9E?= <30717069+OldSmokeGun@users.noreply.github.com> Date: Fri, 15 Mar 2024 11:07:06 +0800 Subject: [PATCH] ci: fix semantic-release job can not be run --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d592326..32dcfd9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,6 @@ jobs: if: github.repository == 'OldSmokeGun/go-scaffold' && github.event_name == 'push' run: | npm install --save-dev semantic-release - npx semantic-release + npx -p node@v18-lts -c "npx semantic-release" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file