Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

1. **Test** — the whole of `test.yml`
2. **Release** (ubuntu) — `pkg-github-release`, `pkg-github-linux`, then
`dart pub publish --force --skip-validation`
`dart pub publish --force`
3. **Deploy macOS** — `pkg-github-macos`, then the Homebrew formula, versioned
and unversioned

Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,12 @@ jobs:
# OIDC token for temporary pub.dev credentials, so publish directly and
# keep no durable secret.
#
# The `test` job that gates this one already ran `dart pub publish
# --dry-run` at this commit, so --skip-validation drops only a repeated
# client-side pass; resolving again here would authenticate the reads
# that pub.dev rejects. pub.dev still validates the archive server-side.
# Drop the flag once https://github.com/dart-lang/pub-dev/issues/9576
# is fixed.
# --force skips the interactive confirmation, which a workflow cannot
# answer. Validation runs: dart-lang/pub-dev#9576, which rejected
# authenticated metadata reads with HTTP 403 and forced
# --skip-validation here, is fixed upstream.
- name: Deploy to Pub
run: dart pub publish --force --skip-validation
run: dart pub publish --force

deploy-macos:
name: Deploy macOS
Expand Down