Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Sep 30, 2023
1 parent c8a17ad commit 12e0351
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
if: ${{ ! matrix.config.python }}
id: create_release
uses: actions/create-release@v1
env:
Expand All @@ -223,7 +224,7 @@ jobs:

- name: upload windows artifact
uses: actions/upload-release-asset@v1
if: ${{ ! matrix.config.python && startsWith(github.ref, 'refs/tags/') }}
if: ${{ ! matrix.config.python }}
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -234,7 +235,7 @@ jobs:

- name: upload windows artifact
uses: actions/upload-release-asset@v1
if: ${{ matrix.config.python && startsWith(github.ref, 'refs/tags/') }}
if: ${{ matrix.config.python }}
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -649,7 +650,6 @@ jobs:

- name: upload windows artifact
uses: actions/upload-release-asset@v1
if: ${{ startsWith(github.ref, 'refs/tags/') }}
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down

0 comments on commit 12e0351

Please sign in to comment.