diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c4f3b42600..f5444386104 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,6 +120,7 @@ jobs: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} doc-artifact-name: HTML-doc-ansys-dpf-core.zip + decompress-artifact: true examples: if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index 6d7547a7315..42f5fb50a32 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -184,11 +184,6 @@ jobs: needs: [style, tests, docs, examples, retro_232, retro_231, retro_222, retro_221, gate, docker_tests] runs-on: ubuntu-latest steps: - - name: "Set up Python" - uses: actions/setup-python@v4.6.0 - with: - python-version: 3.9 - - name: "Download artifacts" uses: actions/download-artifact@v3 @@ -204,12 +199,3 @@ jobs: ./**/*.zip draft: true generate_release_notes: true - -# - name: "Upload to Test PyPi" # Change TOKEN -# run: | -# pip install twine -# twine upload --repository testpypi --skip-existing ./**/*.whl -# twine upload --repository testpypi --skip-existing ./**/*.tar.gz -# env: -# TWINE_USERNAME: __token__ -# TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a4c783e60de..a4521950df0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -180,5 +180,5 @@ jobs: uses: actions/upload-artifact@v3 with: name: HTML-doc-${{env.PACKAGE_NAME}}.zip - path: docs/build/html + path: HTML-doc-${{env.PACKAGE_NAME}}.zip if: always() diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index bc106099466..7c648a9c6b3 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -39,12 +39,16 @@ jobs: file: HTML-doc-ansys-dpf-core.zip token: ${{ secrets.GITHUB_TOKEN }} -# - name: "Unzip HTML Documentation" -# shell: bash -# run: | -# unzip HTML-doc-ansys-dpf-core.zip -d documentation-html -# chmod -R 777 documentation-html -# if: always() + - name: "List downloaded assets" + shell: bash + run: | + ls + + - name: "Upload artifact" + uses: actions/upload-artifact@v3 + with: + name: HTML-doc-ansys-dpf-core.zip + path: HTML-doc-ansys-dpf-core.zip - name: "Deploy the stable documentation" uses: ansys/actions/doc-deploy-stable@v4 @@ -52,3 +56,4 @@ jobs: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} doc-artifact-name: HTML-doc-ansys-dpf-core.zip + decompress-artifact: true