Skip to content

Commit ca42da9

Browse files
checkout repo by ref in publish step
1 parent 2da71c2 commit ca42da9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release-on-github.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979

8080
steps:
8181
- uses: actions/checkout@v3
82+
with:
83+
fetch-depth: 0
84+
ref: ${{ env.VERSION }}
8285

8386
# Setup .npmrc file to publish to npm
8487
- uses: actions/setup-node@v3

0 commit comments

Comments
 (0)