From 6415ac13fab813c7007f4dcb6fd537e451fc34d4 Mon Sep 17 00:00:00 2001 From: shBLOCK <3332908658@qq.com> Date: Thu, 7 Sep 2023 14:45:29 +0800 Subject: [PATCH] Debug release workflows --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb9a235..2ff207e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,7 @@ on: env: GH_TOKEN: ${{ github.token }} + separator: ${{ if eq(runner.os, 'Windows') }}\${{ else }}/${{ endif }} permissions: write-all @@ -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 }} @@ -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