Skip to content

Commit

Permalink
Debug release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
shBLOCK committed Sep 7, 2023
1 parent d6920fe commit 6415ac1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

env:
GH_TOKEN: ${{ github.token }}
separator: ${{ if eq(runner.os, 'Windows') }}\${{ else }}/${{ endif }}

permissions: write-all

Expand Down Expand Up @@ -66,7 +67,7 @@ jobs:
run: python setup.py sdist --formats=gztar,zip

- name: Upload
run: gh release upload ${{ github.ref_name }} "${{ join(github.workspace, 'dist', '*') }}"
run: gh release upload ${{ github.ref_name }} "${{ github.workspace }}${{ separator }}dist${{ separator }}*"

binary_dists:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -101,7 +102,7 @@ jobs:
run: python setup.py bdist_wheel

- name: Upload
run: gh release upload ${{ github.ref_name }} "${{ join(github.workspace, 'dist', '*') }}"
run: gh release upload ${{ github.ref_name }} "${{ github.workspace }}${{ separator }}dist${{ separator }}*"

# final_publish:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 6415ac1

Please sign in to comment.