Skip to content

Commit 5d3287d

Browse files
committed
Restore workflow changes
1 parent 29ee79d commit 5d3287d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,13 @@ jobs:
3939

4040
- name: (prometheus_client_shelf) Remove dependency override
4141
run: sudo snap install yq && yq eval "del(.dependency_overrides)" --inplace pubspec.yaml
42-
if: github.event.release
4342
working-directory: prometheus_client_shelf
4443
- name: (prometheus_client_shelf) Install dependencies
4544
run: dart pub get
4645
working-directory: prometheus_client_shelf
47-
- name: (prometheus_client_shelf) Dry-run publish
46+
- # It's common that the dry-run step fails if the dependency constraint on prometheus_client is not valid and a
47+
# newer version has to be uploaded. In that case, it's fine to ignore it.
48+
name: (prometheus_client_shelf) Dry-run publish
4849
run: dart pub publish --dry-run
4950
working-directory: prometheus_client_shelf
5051
- name: (prometheus_client_shelf) Publish

0 commit comments

Comments
 (0)