Skip to content

Commit 6561fdb

Browse files
authored
fix: increase delay on crates.io publish retry (#48)
1 parent 0588490 commit 6561fdb

File tree

4 files changed

+34
-26
lines changed

4 files changed

+34
-26
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v6
1414
- uses: denoland/setup-deno@v2
1515
with:
1616
deno-version: 2.x
@@ -23,7 +23,7 @@ jobs:
2323
contents: read
2424
id-token: write
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2727
- uses: denoland/setup-deno@v2
2828
- name: Publish to JSR on tag
2929
run: deno run -A jsr:@david/publish-on-tag@0.2.0

crate.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,15 @@ export class Crate {
241241
return true;
242242
},
243243
count: 5,
244-
delay: "10s",
244+
delay: (() => {
245+
let value = 1;
246+
return {
247+
next() {
248+
value++;
249+
return value * 5_000;
250+
},
251+
};
252+
})(),
245253
});
246254
}
247255

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@deno/rust-automation",
33
"imports": {
4-
"@david/dax": "jsr:@david/dax@^0.43.2",
4+
"@david/dax": "jsr:@david/dax@^0.45.0",
55
"@std/semver": "jsr:@std/semver@^1.0.5",
66
"octokit": "npm:octokit@^5.0.3"
77
},

deno.lock

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)