Skip to content

Commit

Permalink
fix: fix image artifact regex to match GitHub Actions filename (#1013)
Browse files Browse the repository at this point in the history
GitHub Actions doesn't allow artifact files to contain `:`, so it is
replaced with `---`. Update this artifact finding code to match that
pattern.
  • Loading branch information
aliciaaevans authored Oct 28, 2024
1 parent 94463a9 commit c1adeea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioconda_utils/artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
logger = logging.getLogger(__name__)


IMAGE_RE = re.compile(r"(.+)(?::|%3A)(.+)\.tar\.gz$")
IMAGE_RE = re.compile(r"(.+)(?::|%3A|---)(.+)\.tar\.gz$")


class UploadResult(Enum):
Expand Down

0 comments on commit c1adeea

Please sign in to comment.