mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 23:24:37 +00:00
fix(publish): permissionless dry-run in GHA (#22679)
Fixes https://github.com/denoland/deno/issues/22658
This commit is contained in:
parent
89d7bc693a
commit
156950828e
2 changed files with 8 additions and 1 deletions
|
@ -884,7 +884,8 @@ pub async fn publish(
|
|||
) -> Result<(), AnyError> {
|
||||
let cli_factory = CliFactory::from_flags(flags).await?;
|
||||
|
||||
let auth_method = get_auth_method(publish_flags.token)?;
|
||||
let auth_method =
|
||||
get_auth_method(publish_flags.token, publish_flags.dry_run)?;
|
||||
|
||||
let import_map = cli_factory
|
||||
.maybe_import_map()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue