From 12efc93a78107c07cc7e3213ed17dc155d7b5833 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Tue, 27 Feb 2024 20:33:57 +0100 Subject: [PATCH] Fix release (again) (#2827) fix release --- .github/workflows/ci.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9db5b63266..9671f7cb96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -816,18 +816,26 @@ jobs: python-version: 3.9 - uses: actions/download-artifact@v4 + + - name: Copying files and overwrite same name files + # (to avoid upload issue) + run: | + mkdir artifacts + find . -iname 'ansys_mapdl_core-*.tar.gz' -exec cp \{\} ./artifacts/ \; + find . -iname 'ansys_mapdl_core-*-py3-none-any.whl' -exec cp \{\} ./artifacts/ \; + find . -iname 'minimum_requirements.txt' -exec cp \{\} ./artifacts/ \; - name: Display structure of downloaded files - run: ls -R + run: ls -Rla - name: "Release to GitHub" uses: softprops/action-gh-release@v1 with: files: | - ./**/*.whl - ./**/*.tar.gz - ./**/pymapdl*.pdf - ./**/ansys-mapdl-core*.zip + ./**/artifacts/ansys_mapdl_core-*-py3-none-any.whl + ./**/artifacts/ansys_mapdl_core-*.tar.gz + ./**/pymapdl-Documentation-*.pdf + ./**/ansys-mapdl-core*wheelhouse*.zip ./**/minimum_requirements.txt - name: Upload to Public PyPi