@@ -11,18 +11,18 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Checkout code
14- uses : actions/checkout@master
14+ uses : actions/checkout@v3
1515 with :
1616 fetch-depth : 2
1717 - name : Get changed files
1818 id : changed-files
19- uses : tj-actions/changed-files@v5 .1
19+ uses : tj-actions/changed-files@v35.4 .1
2020 - name : Tag Version
2121 if : contains(steps.changed-files.outputs.modified_files, 'src/fcl/version.py')
2222 id : set_tag
2323 run : |
2424 export VER=v$(python -c "exec(open('src/fcl/version.py','r').read());print(__version__)")
25- echo "::set-output name= tag_name:: ${VER}"
25+ echo echo " tag_name= ${VER}" >> $GITHUB_OUTPUT
2626 - name : Create Release
2727 if : contains(steps.changed-files.outputs.modified_files, 'src/fcl/version.py')
2828 id : create_release
@@ -46,21 +46,21 @@ jobs:
4646 matrix :
4747 platform : [ubuntu-latest, macos-latest, windows-latest]
4848 steps :
49- - uses : actions/checkout@v2
50- - name : Build wheels
51- uses : pypa/cibuildwheel@v2.11.4
52- - uses : actions/upload-artifact@v3
53- with :
54- path : ./wheelhouse/*.whl
55- - uses : xresloader/upload-to-github-release@v1
56- env :
57- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58- with :
59- file : ./wheelhouse/*.whl
60- overwrite : true
61- draft : false
62- update_latest_release : true
63-
49+ - uses : actions/checkout@v3
50+ - name : Build wheels
51+ uses : pypa/cibuildwheel@v2.12.0
52+ - uses : actions/upload-artifact@v3
53+ with :
54+ path : ./wheelhouse/*.whl
55+ - uses : xresloader/upload-to-github-release@v1
56+ env :
57+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58+ with :
59+ file : ./wheelhouse/*.whl
60+ overwrite : true
61+ draft : false
62+ update_latest_release : true
63+
6464 upload_pypi :
6565 if : contains(needs.create_release.outputs.mod_files, 'src/fcl/version.py')
6666 needs : [create_release, build_wheels]
7070 with :
7171 name : artifact
7272 path : dist
73- - uses : pypa/gh-action-pypi-publish@v1.5.0
73+ - uses : pypa/gh-action-pypi-publish@v1.6.4
7474 with :
7575 user : __token__
7676 password : ${{ secrets.PYPI_API_TOKEN }}
0 commit comments