1- name : release
1+ name : buildrelease
22
33on :
44 push :
55 tags :
66 - 3.12.*
77
88jobs :
9- build :
9+ buildrelease :
10+ env :
11+ GITHUB_TOKEN : ${{ secrets.COATL_BOT_GH_TOKEN }}
1012 runs-on : windows-latest
1113 steps :
1214 - name : Checkout repository
1315 uses : actions/checkout@v4
1416 with :
1517 fetch-depth : 0
16- token : ${{ secrets.COATL_BOT_GH_TOKEN }}
18+ token : ${{ env.GITHUB_TOKEN }}
1719
1820 - name : Download Python 3.12
1921 run : |
4547
4648 - name : Building ...
4749 run : |
48- .\Tools\msi\buildrelease.bat -x86
49- .\Tools\msi\buildrelease.bat -x64
50+ .\Tools\msi\buildrelease.bat
5051 working-directory : Python-${{ github.ref_name }}
5152 shell : powershell
5253
@@ -55,20 +56,17 @@ jobs:
5556 gh release create "${{ github.ref_name }}" \
5657 --title "${{ github.ref_name }}" \
5758 --notes "Automated release for version ${{ github.ref_name }}"
58- env :
59- GITHUB_TOKEN : ${{ secrets.COATL_BOT_GH_TOKEN }}
6059 shell : bash
6160
6261 - name : Upload artifacts to GitHub release
6362 run : |
6463 gh release upload "${{ github.ref_name }}" `
6564 --clobber `
66- Python-${{ github.ref_name }}\PCbuild\win32\en-us\python-${{ github.ref_name }}.exe `
67- Python-${{ github.ref_name }}\PCbuild\win32\en-us\python-${{ github.ref_name }}-embed-win32.zip `
68- Python-${{ github.ref_name }}\PCbuild\win32\en-us\pythonx86.${{ github.ref_name }}.nupkg `
69- Python-${{ github.ref_name }}\PCbuild\amd64\en-us\python.${{ github.ref_name }}.nupkg `
70- Python-${{ github.ref_name }}\PCbuild\amd64\en-us\python-${{ github.ref_name }}-amd64.exe `
71- Python-${{ github.ref_name }}\PCbuild\amd64\en-us\python-${{ github.ref_name }}-embed-amd64.zip
72- env :
73- GITHUB_TOKEN : ${{ secrets.COATL_BOT_GH_TOKEN }}
65+ .\PCbuild\win32\en-us\python-${{ github.ref_name }}.exe `
66+ .\PCbuild\win32\en-us\python-${{ github.ref_name }}-embed-win32.zip `
67+ .\PCbuild\win32\en-us\pythonx86.${{ github.ref_name }}.nupkg `
68+ .\PCbuild\amd64\en-us\python.${{ github.ref_name }}.nupkg `
69+ .\PCbuild\amd64\en-us\python-${{ github.ref_name }}-amd64.exe `
70+ .\PCbuild\amd64\en-us\python-${{ github.ref_name }}-embed-amd64.zip
71+ working-directory : Python-${{ github.ref_name }}
7472 shell : powershell
0 commit comments