-
Notifications
You must be signed in to change notification settings - Fork 2
[Bug]: Fix Regular Expression within release workflow #289
Copy link
Copy link
Description
Bug Report
Description
The GitHub Actions release workflow is not successfully publishing the CodeEntropy Conda package to Anaconda.org.
Expected Behavior
When the release workflow is triggered, it should:
- Build the Conda package from
conda-recipe/meta.yaml - Upload the built artifact to the
CCPBioSimAnaconda.org organisation channel
Actual Behavior
The workflow fails during the Conda publish stage and does not upload the package to Anaconda.org.
Steps to Reproduce
- Go to GitHub Actions →
Release CodeEntropy - Run workflow (workflow_dispatch) with a valid version number (e.g.
1.2.3) - Observe failure in the
condajob (publish step)
Relevant Logs / Error Message
- Example failure seen:
sed: -e expression #1, char 57: Invalid preceding regular expression- Exit code:
1
Environment
- GitHub Actions runner:
ubuntu-24.04 - Conda setup:
conda-incubator/setup-miniconda@v3(Miniforge) - Package recipe location:
conda-recipe/meta.yaml - Upload method:
anaconda-clientusingANACONDA_TOKEN
Additional Context
The Conda recipe uses Jinja templating ({% ... %}), and the workflow updates the recipe version using sed before building/uploading.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working