@@ -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,23 +46,23 @@ 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.12.0
52- env :
53- CIBW_ARCHS_MACOS : ' x86_64 arm64'
54- - uses : actions/upload-artifact@v3
55- with :
56- path : ./wheelhouse/*.whl
57- - uses : xresloader/upload-to-github-release@v1
58- env :
59- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
60- with :
61- file : ./wheelhouse/*.whl
62- overwrite : true
63- draft : false
64- update_latest_release : true
65-
49+ - uses : actions/checkout@v3
50+ - name : Build wheels
51+ uses : pypa/cibuildwheel@v2.12.0
52+ env :
53+ CIBW_ARCHS_MACOS : ' x86_64 arm64'
54+ - uses : actions/upload-artifact@v3
55+ with :
56+ path : ./wheelhouse/*.whl
57+ - uses : xresloader/upload-to-github-release@v1
58+ env :
59+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
60+ with :
61+ file : ./wheelhouse/*.whl
62+ overwrite : true
63+ draft : false
64+ update_latest_release : true
65+
6666 upload_pypi :
6767 if : contains(needs.create_release.outputs.mod_files, 'src/fcl/version.py')
6868 needs : [create_release, build_wheels]
7272 with :
7373 name : artifact
7474 path : dist
75- - uses : pypa/gh-action-pypi-publish@v1.5.0
75+ - uses : pypa/gh-action-pypi-publish@v1.6.4
7676 with :
7777 user : __token__
7878 password : ${{ secrets.PYPI_API_TOKEN }}
0 commit comments