Closed matthewfeickert closed 1 year ago
Evidence that this works and you won't have to keep dealing with slightly wrong CI:
$ git diff origin/ci/fix-regex
diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml
index 35f087d..91a276f 100644
--- a/.github/workflows/publish-package.yml
+++ b/.github/workflows/publish-package.yml
@@ -3,6 +3,7 @@ on:
push:
branches:
- main
+ - debug/workflow
tags:
- '[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+'
Amends PR #51
@asmeurer The CI is failing on merge to
main
as when you added the regex for the tags to PR #51 I didn't check it on my fork (when debugging I had removed the branch and tag block to run onpush
). The regex needs to be quoted, else a YAML syntax error occurs.