Skip to content

Commit efba183

Browse files
authoredJan 29, 2025
[infra] Skip autopublishing for Flutter SDK packages - 2 (#1950)
Aparently autosubmit wasn't stopped by https://github.com/dart-lang/native/actions/runs/13030317922 🙈 Documentation on how to use this correctly: * https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-including-branches-and-tags (It doesn't detail what a "pattern" is, apparently not really a regex? * https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet (apparently underscore patterns are not supported. However, the autopublisher has been working just fine for `native_assets_cli-v0.11.0`...)
1 parent 97e683b commit efba183

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎.github/workflows/publish.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ on:
77
branches: [ main ]
88
push:
99
# TODO: Enable autopublishing for these when Flutter SDK is supported.
10-
tags: [ '(?!ffigen-v|jni-v|jnigen-v|objective_c-v)[A-z0-9_-]+-v[0-9]+.[0-9]+.[0-9]+' ]
10+
tags:
11+
- '[A-z0-9]+-v[0-9]+.[0-9]+.[0-9]+'
12+
- '!ffigen-v**'
13+
- '!jni-v**'
14+
- '!jnigen-v**'
15+
- '!objective_c-v**'
1116

1217
jobs:
1318
publish:

0 commit comments

Comments
 (0)