File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
cookiecutter/{{cookiecutter.github_repo_name}}/.github/workflows Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1616 workflow_dispatch :
1717
1818env :
19- # Please make sure these versions are included in the `matrix`, as the
20- # `matrix` section can't use `env`, so they must be entered manually
19+ # Please make sure this version is included in the `matrix`, as the
20+ # `matrix` section can't use `env`, so it must be entered manually
2121 DEFAULT_PYTHON_VERSION : ' 3.11'
22- DEFAULT_UBUNTU_VERSION : ' 20.04'
22+ # It would be nice to be able to also define a DEFAULT_UBUNTU_VERSION
23+ # but sadly `env` can't be used either in `runs-on`.
2324
2425jobs :
2526 nox :
5657
5758 build :
5859 name : Build distribution packages
59- runs-on : ubuntu-{{'${{ env.DEFAULT_UBUNTU_VERSION }}'}}
60+ runs-on : ubuntu-20.04
6061 steps :
6162 - name : Fetch sources
6263 uses : actions/checkout@v3
9293 # discussions to create the release announcement in the discussion forums
9394 contents : write
9495 discussions : write
95- runs-on : ubuntu-{{'${{ env.DEFAULT_UBUNTU_VERSION }}'}}
96+ runs-on : ubuntu-20.04
9697 steps :
9798 - name : Download distribution files
9899 uses : actions/download-artifact@v3
@@ -134,7 +135,7 @@ jobs:
134135 publish-to-pypi :
135136 name : Publish packages to PyPI
136137 needs : ["create-github-release"]
137- runs-on : ubuntu-{{'${{ env.DEFAULT_UBUNTU_VERSION }}'}}
138+ runs-on : ubuntu-20.04
138139 permissions :
139140 # For trusted publishing. See:
140141 # https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
You can’t perform that action at this time.
0 commit comments