From 835ae650c30d3de8aa7ce998957c702223937f50 Mon Sep 17 00:00:00 2001 From: u1and0 Date: Sun, 17 Mar 2024 08:11:08 +0900 Subject: [PATCH] [fix] yaml upload --- .github/workflows/deno.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml index eb47753..28c119b 100644 --- a/.github/workflows/deno.yml +++ b/.github/workflows/deno.yml @@ -78,16 +78,14 @@ jobs: - name: Binary upload (Unix, MacOS) # Artifact upload only occurs when tag matches - if: runner.os != 'Windows' - if: startsWith(github.ref, 'refs/tags/v') + if: runner.os != 'Windows' && startsWith(github.ref, 'refs/tags/v') uses: actions/upload-artifact@v4 with: name: gpt-cli-${{ matrix.name }} path: gpt - name: Binary upload (Windows) - if: runner.os == 'Windows' - if: startsWith(github.ref, 'refs/tags/v') + if: runner.os == 'Windows' && startsWith(github.ref, 'refs/tags/v') uses: actions/upload-artifact@v4 with: name: gpt-cli-${{ matrix.name }}