Skip to content

Commit a1728dc

Browse files
committed
continue on error
1 parent cb456e8 commit a1728dc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/dart.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,16 +186,19 @@ jobs:
186186
multipack --only $PACKAGES pubspec sync-versions
187187
- name: Publish packages
188188
shell: bash
189+
continue-on-error: true
189190
run: |
190191
echo "{\"accessToken\":\"$PUB_ACCESS_TOKEN\",\"refreshToken\":\"$PUB_REFRESH_TOKEN\",\"idToken\":null,\"tokenEndpoint\":\"https://accounts.google.com/o/oauth2/token\",\"scopes\":[\"openid\",\"https://www.googleapis.com/auth/userinfo.email\"],\"expiration\":1588334512218}" > $HOME/.pub-cache/credentials.json
191192
192193
## BEGIN TEMPORARY WORKAROUND FOR https://github.com/google/built_value.dart/issues/1032
193194
## See dry_run_workaround_helpers.sh for more details
194195
source .github/workflows/dry_run_workaround_helpers.sh
195196
196-
multipack --only $PACKAGES exec pub publish --dry-run 2>&1 | cap
197+
multipack --only $PACKAGES exec 'pub publish --dry-run 2>&1' | cap
197198
198-
ignore_err_when_stdout_contains 'gql_build' 'Package has 1 warning' \
199+
ignore_err_when_stdout_contains \
200+
'Publishing gql_build' \
201+
'Package has 1 warning' \
199202
'package:built_value_generator/built_value_generator.dart is opting out of null safety' \
200203
201204
check_svg:

0 commit comments

Comments
 (0)