Skip to content

Commit b8c1789

Browse files
committed
Fix releaser.yml
1 parent a36e361 commit b8c1789

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/releaser.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ jobs:
1515
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
1616

1717
- name: "Download Release Asset - HTML"
18-
uses: soukvm/action-download-asset@master
18+
uses: dsaltares/fetch-gh-release-asset@1.0.0
1919
with:
20-
repo: pyansys/pydpf-post
2120
file: HTML-doc-ansys-dpf-post.zip
22-
unpack: true
23-
out: ./HTML-doc-ansys-dpf-post/
2421
token: ${{ secrets.GITHUB_TOKEN }}
2522

23+
- name: "Unzip the HMTL documentation"
24+
uses: montudor/action-zip@v1
25+
with:
26+
args: unzip -qq HTML-doc-ansys-dpf-post.zip -d HTML-doc-ansys-dpf-post
27+
2628
- name: "Deploy to gh-pages"
2729
uses: JamesIves/github-pages-deploy-action@v4
2830
with:
@@ -46,12 +48,14 @@ jobs:
4648
with:
4749
file: '*.whl'
4850
token: ${{ secrets.GITHUB_TOKEN }}
51+
regex: true
4952

5053
- name: "Download Release Asset - tar.gz"
5154
uses: dsaltares/[email protected]
5255
with:
5356
file: '*.tar.gz'
5457
token: ${{ secrets.GITHUB_TOKEN }}
58+
regex: true
5559

5660
- name: "Upload to Public PyPi"
5761
run: |

0 commit comments

Comments
 (0)