Skip to content

Commit

Permalink
FIX: revert action changes
Browse files Browse the repository at this point in the history
Note: some changes are conflicting with the current full
documentation upload process (cf
actions/upload-artifact#485)

Extra: removing setoutput as its deprecated by github
  • Loading branch information
SMoraisAnsys committed Jan 30, 2024
1 parent 98a8a4b commit cdccd9b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/full_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
id: version
run: |
testenv\Scripts\Activate.ps1
echo "::set-output name=PYAEDT_VERSION::$(python -c "from pyaedt import __version__; print(__version__)")"
echo "PYAEDT_VERSION=$(python -c 'from pyaedt import __version__; print(__version__)')" >> $GITHUB_OUTPUT
echo "PyAEDT version is: $(python -c "from pyaedt import __version__; print(__version__)")"
- name: Create HTML Documentations
Expand All @@ -80,7 +80,7 @@ jobs:
# .\doc\make.bat pdf

- name: Upload HTML documentation artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: documentation-html
path: doc/_build/html
Expand All @@ -94,7 +94,7 @@ jobs:
retention-days: 7

# - name: Upload PDF documentation artifact
# uses: actions/upload-artifact@v4
# uses: actions/upload-artifact@v3
# with:
# name: documentation-pdf
# path: doc/_build/pdf
Expand All @@ -115,7 +115,7 @@ jobs:
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
steps:
- name: Deploy the stable documentation
uses: ansys/actions/doc-deploy-stable@v5
uses: ansys/actions/doc-deploy-stable@v4
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -136,7 +136,7 @@ jobs:

- uses: actions/checkout@v4

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3

- name: Display structure of downloaded files
run: ls -R
Expand All @@ -154,7 +154,7 @@ jobs:
echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV
- name: "Deploy the stable documentation index for PyAEDT API"
uses: ansys/actions/doc-deploy-index@v5
uses: ansys/actions/doc-deploy-index@v4
with:
cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }}
index-name: pyaedt-v${{ env.VERSION_MEILI }}
Expand All @@ -163,7 +163,7 @@ jobs:
pymeilisearchopts: --stop_urls \"EDBAPI\" # Add EDB API as another index.

- name: "Deploy the stable documentation index for EDB API"
uses: ansys/actions/doc-deploy-index@v5
uses: ansys/actions/doc-deploy-index@v4
with:
cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }}/EDBAPI/
index-name: pyedb-v${{ env.VERSION_MEILI }}
Expand Down

0 comments on commit cdccd9b

Please sign in to comment.