11name : Release Alpha and Propose Stable
22
33on :
4+ workflow_dispatch :
45 pull_request :
56 types : [closed]
67 branches : [dev]
78
89jobs :
910 publish_alpha :
10- if : github.event.pull_request.merged == true
1111 uses : TigreGotico/gh-automations/.github/workflows/publish-alpha.yml@master
1212 secrets : inherit
1313 with :
2323 needs : publish_alpha
2424 runs-on : ubuntu-latest
2525 steps :
26- - uses : actions/checkout@v2
26+ - uses : actions/checkout@v4
2727 - name : Send message to Matrix bots channel
2828 id : matrix-chat-message
2929 uses : fadenb/matrix-chat-message@v0.0.6
@@ -39,14 +39,14 @@ jobs:
3939 if : success() # Ensure this job only runs if the previous job succeeds
4040 runs-on : ubuntu-latest
4141 steps :
42- - uses : actions/checkout@v2
42+ - uses : actions/checkout@v4
4343 with :
4444 ref : dev
4545 fetch-depth : 0 # otherwise, there would be errors pushing refs to the destination repository.
4646 - name : Setup Python
47- uses : actions/setup-python@v1
47+ uses : actions/setup-python@v5
4848 with :
49- python-version : 3.8
49+ python-version : " 3.11 "
5050 - name : Install Build Tools
5151 run : |
5252 python -m pip install build wheel
5656 - name : Build Distribution Packages
5757 run : |
5858 python setup.py sdist bdist_wheel
59- - name : Publish to Test PyPI
59+ - name : Publish to PyPI
6060 uses : pypa/gh-action-pypi-publish@master
6161 with :
6262 password : ${{secrets.PYPI_TOKEN}}
@@ -68,14 +68,14 @@ jobs:
6868 runs-on : ubuntu-latest
6969 steps :
7070 - name : Checkout dev branch
71- uses : actions/checkout@v3
71+ uses : actions/checkout@v4
7272 with :
7373 ref : dev
7474
7575 - name : Setup Python
76- uses : actions/setup-python@v2
76+ uses : actions/setup-python@v5
7777 with :
78- python-version : ' 3.10 '
78+ python-version : ' 3.11 '
7979
8080 - name : Get version from setup.py
8181 id : get_version
0 commit comments