payu-org / payu

A workflow management tool for numerical models on the NCI computing systems
Apache License 2.0
18 stars 25 forks source link

Create configuration variable for python version in Github workflows #404

Open dougiesquire opened 5 months ago

dougiesquire commented 5 months ago

The Python version to build against is being used in a number of places in .github/workflows/CI.yml and .github/workflows/CD.yml. I tried to use a configuration variable in #403 to define this in a single location, but this wasn't working at the time, so instead I used a workflow-level environment variable in each workflow. These should be replaced with a Repository or Environment configuration variable.

ping @CodeGat

dougiesquire commented 5 months ago

E.g. a "release" github Environment that we could also use for the PyPI trusted publishing

CodeGat commented 5 months ago

I've done a lot of Environment stuff so I'll be able to help out :)