diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index dda888b5efb..db0db7a917e 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -208,7 +208,6 @@ jobs: with: files: | ./**/*.whl - ./**/*.tar.gz ./**/*.zip draft: true generate_release_notes: true diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index e6ceea2fdb9..c2de4618b15 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -25,15 +25,14 @@ jobs: Publish_to_PyPI: name: "Publish Release to PyPI" runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/v') steps: - name: "Download Release Assets" uses: robinraju/release-downloader@v1.8 with: tag: ${{ github.event.inputs.release_tag || 'latest' }} fileName: "*.whl" - tarBall: true - zipBall: true + tarBall: false + zipBall: false out-file-path: "assets" extract: false token: ${{ secrets.GITHUB_TOKEN }} @@ -49,7 +48,6 @@ jobs: upload_docs_release: name: "Upload stable documentation" needs: [Publish_to_PyPI] - if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest steps: - name: "Download Release Asset - HTML" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1fcef2a0ccd..ed8be9d0718 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -151,7 +151,9 @@ jobs: id: wheelhouse run: | export wheel_name=${{ steps.wheel.outputs.wheel_name }} - export version=${wheel_name:15:5} + export IFS='-' + read -a strarr <<< $wheel_name + export version="${strarr[1]}" export name=ansys-dpf-core-v$version-wheelhouse-${{ runner.os }}-${{ matrix.python-version }}.zip echo "name=${name}" >> $GITHUB_OUTPUT