Skip to content

Commit

Permalink
fix: Incorrect workspace repo in publish-crates-cargo action
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Mar 26, 2024
1 parent 371c447 commit 2aac2c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/publish-crates-cargo-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -82380,7 +82380,7 @@ function repoPath(repo) {
}
async function publishToEstuary(input, repo, registry, registryDepsRegExp, branch) {
clone(input, repo, branch);
const path = repoPath(input.repo);
const path = repoPath(repo);
await configRegistry(path, registry.name, registry.index);
await setRegistry(path, registryDepsRegExp, registry.name);
const env = {
Expand All @@ -82391,7 +82391,7 @@ async function publishToEstuary(input, repo, registry, registryDepsRegExp, branc
}
function publishToCratesIo(input, repo, branch) {
clone(input, repo, branch);
const path = repoPath(input.repo);
const path = repoPath(repo);
const env = {
CARGO_REGISTRY_TOKEN: input.cratesIoToken,
};
Expand Down
4 changes: 2 additions & 2 deletions src/publish-crates-cargo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async function publishToEstuary(
branch?: string,
): Promise<void> {
clone(input, repo, branch);
const path = repoPath(input.repo);
const path = repoPath(repo);

await cargo.configRegistry(path, registry.name, registry.index);
await cargo.setRegistry(path, registryDepsRegExp, registry.name);
Expand All @@ -127,7 +127,7 @@ async function publishToEstuary(

function publishToCratesIo(input: Input, repo: string, branch?: string) {
clone(input, repo, branch);
const path = repoPath(input.repo);
const path = repoPath(repo);

const env = {
CARGO_REGISTRY_TOKEN: input.cratesIoToken,
Expand Down

0 comments on commit 2aac2c6

Please sign in to comment.