From a0c82fbdbbd2ea3722c702feadec32ce94f4a6c9 Mon Sep 17 00:00:00 2001 From: J23 Date: Fri, 22 Nov 2024 11:24:58 +0800 Subject: [PATCH] CI: fix github CI --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97f0b92..3ceb8f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,11 @@ jobs: platform: [ubuntu-latest, macos-latest, windows-latest] include: - platform: ubuntu-latest - release_script: ./script/release.sh + release_command: ./script/release.sh - platform: macos-latest - release_script: ./script/release.sh + release_command: ./script/release.sh - platform: windows-latest - release_script: script/release.bat + release_command: pwsh -NoProfile -NoLogo -ExecutionPolicy unrestricted -File "./script/release.ps1" runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v4 @@ -35,7 +35,7 @@ jobs: with: go-version: "stable" - name: Build - run: ${{ matrix.release_script }} + run: ${{ matrix.release_command }} - name: Upload release uses: svenstaro/upload-release-action@v2 if: startsWith(github.ref, 'refs/tags/')