|
47 | 47 | needs: get_latest_tag |
48 | 48 | steps: |
49 | 49 | - name: "Download Release Assets" |
50 | | - uses: robinraju/release-downloader@v1.8 |
| 50 | + uses: robinraju/release-downloader@v1.9 |
51 | 51 | with: |
52 | 52 | tag: ${{ github.event.inputs.release_tag || needs.get_latest_tag.outputs.version }} |
53 | 53 | fileName: "*.whl" |
@@ -75,21 +75,21 @@ jobs: |
75 | 75 | with: |
76 | 76 | file: HTML-doc-ansys-dpf-core.zip |
77 | 77 | token: ${{ secrets.GITHUB_TOKEN }} |
78 | | - version: tags/${{ github.event.inputs.release_tag || needs.get_latest_tag.outputs.version }} |
| 78 | + version: ${{ github.event.inputs.release_tag && format('tags/{0}', github.event.inputs.release_tag) || format('tags/{0}', needs.get_latest_tag.outputs.version) }} |
79 | 79 |
|
80 | 80 | - name: "List downloaded assets" |
81 | 81 | shell: bash |
82 | 82 | run: | |
83 | 83 | ls |
84 | 84 |
|
85 | 85 | - name: "Upload artifact" |
86 | | - uses: actions/upload-artifact@v3 |
| 86 | + uses: actions/upload-artifact@v4 |
87 | 87 | with: |
88 | 88 | name: HTML-doc-ansys-dpf-core.zip |
89 | 89 | path: HTML-doc-ansys-dpf-core.zip |
90 | 90 |
|
91 | 91 | - name: "Deploy the stable documentation" |
92 | | - uses: ansys/actions/doc-deploy-stable@v4 |
| 92 | + uses: ansys/actions/doc-deploy-stable@v5 |
93 | 93 | with: |
94 | 94 | cname: ${{ env.DOCUMENTATION_CNAME }} |
95 | 95 | token: ${{ secrets.GITHUB_TOKEN }} |
@@ -121,7 +121,7 @@ jobs: |
121 | 121 | echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV |
122 | 122 |
|
123 | 123 | - name: "Deploy the latest documentation index" |
124 | | - uses: ansys/actions/doc-deploy-index@v4 |
| 124 | + uses: ansys/actions/doc-deploy-index@v5 |
125 | 125 | with: |
126 | 126 | cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }} |
127 | 127 | index-name: pydpf-core-v${{ env.VERSION_MEILI }} |
|
0 commit comments