Skip to content

Commit

Permalink
[fix] yaml upload
Browse files Browse the repository at this point in the history
  • Loading branch information
u1and0 committed Mar 16, 2024
1 parent 76bda99 commit 835ae65
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 835ae65

Please sign in to comment.