Skip to content

Commit 3e771fe

Browse files
rsbhpaanSinghCoder
andauthored
fix: ci breaking as checkout position incorrect (#391) (#400)
* fix: ci breaking as checkout position incorrect (#391) * fix: update version in package.json (#394) * fix: update version in package.json * fix: add ref --------- Co-authored-by: Gaurav Singh <gaurav3017@gmail.com>
1 parent 919c194 commit 3e771fe

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313
timeout-minutes: 10
1414
steps:
15+
- name: Checkout 🛎️
16+
uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
19+
ref: ${{ github.ref }}
20+
1521
- name: Check Branch and Tag
1622
run: |
1723
BRANCH=$(git branch -r --contains ${{ github.ref }})
@@ -32,11 +38,6 @@ jobs:
3238
exit 1
3339
fi
3440
35-
- name: Checkout 🛎️
36-
uses: actions/checkout@v3
37-
with:
38-
fetch-depth: 0
39-
4041
- name: Setup pnpm 9
4142
uses: pnpm/action-setup@v4
4243
with:

0 commit comments

Comments
 (0)