Skip to content

Commit 2f334fb

Browse files
committed
fix workflows/Publish
1 parent 9248c23 commit 2f334fb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/Publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
contents: write # to create releases
1616

1717
steps:
18+
- uses: actions/checkout@v5
19+
with:
20+
ref: main
21+
fetch-depth: 0
22+
1823
- name: Ensure main branch
1924
run: |
2025
BRANCHS=$(git branch --contains ${{ github.ref_name }})
@@ -26,11 +31,6 @@ jobs:
2631
done
2732
exit 1
2833
29-
- uses: actions/checkout@v5
30-
with:
31-
ref: main
32-
fetch-depth: 0
33-
3434
- uses: rust-lang/crates-io-auth-action@v1
3535
id: cratesio_auth
3636

0 commit comments

Comments
 (0)