File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 if : startsWith(github.ref, 'refs/tags/v')
1212 steps :
13+ - uses : actions/checkout@v3
14+
1315 - name : " Get the version"
1416 id : get_version
1517 run : echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
@@ -36,13 +38,19 @@ jobs:
3638 repository-name : pyansys/DPF-Post-docs
3739 commit-message : Documentation generated for ${{ steps.get_version.outputs.VERSION }}
3840 clean-exclude : " CNAME"
39- tag : ${{ github.ref }}
41+ tag : ${{ steps.get_version.outputs.VERSION }}
4042
4143 Publish_to_PyPi :
4244 name : Publish to PyPi
4345 runs-on : ubuntu-latest
4446 if : startsWith(github.ref, 'refs/tags/v')
4547 steps :
48+ - uses : actions/checkout@v3
49+
50+ - name : " Get the version"
51+ id : get_version
52+ run : echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
53+
4654 - name : " Download Release Asset - whl"
47554856 with :
@@ -51,11 +59,11 @@ jobs:
5159 regex : true
5260
5361 - name : " Download Release Asset - tar.gz"
54- uses :
dsaltares/fetch-gh- release-[email protected] 62+ uses :
robinraju/ release-[email protected] 5563 with :
56- file : " .*.tar.gz"
64+ tag : ${{ steps.get_version.outputs.VERSION }}
65+ tarBall : true
5766 token : ${{ secrets.GITHUB_TOKEN }}
58- regex : true
5967
6068 - name : " Upload to Public PyPi"
6169 run : |
You can’t perform that action at this time.
0 commit comments