We noticed today that this action only works for conda packages that use semver. When pointing to packages that use CalVer, the SemVer package strips leading zeros in dates. This PR adds the option to specify a version_system option:
name: My Workflow
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get latest Anaconda Python version
id: anaconda
uses: jacobtomlinson/gha-anaconda-package-version@master
with:
org: conda-forge
package: pangeo-notebook
version_system: SemVer
We noticed today that this action only works for conda packages that use semver. When pointing to packages that use CalVer, the
SemVer
package strips leading zeros in dates. This PR adds the option to specify aversion_system
option: