You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,10 @@ jobs:
22
22
needs: test
23
23
steps:
24
24
- uses: actions/checkout@v4
25
+
with:
26
+
persist-credentials: false
25
27
- name: Stop early if the tag fails any validation
26
-
run: sh validate-version.sh ${{ github.ref_name }}
28
+
run: sh validate-version.sh ${GITHUB_REF_NAME}
27
29
# Setup .npmrc file to publish to npm
28
30
- uses: actions/setup-node@v4
29
31
with:
@@ -40,7 +42,7 @@ jobs:
40
42
- name: Fix the relative URLs in the READMEs to work on npmjs
41
43
run: |
42
44
sed -i 's/(\.\.\/web-component)/(web-component)/g' dist/packages/ngx-web-component/README.md
43
-
sed -i 's/(test-data\//(https:\/\/github.com\/ReadAlongs\/Studio-Web\/blob\/${{ github.ref_name }}\/packages\/web-component\/test-data\//g' dist/packages/web-component/README.md
45
+
sed -i 's/(test-data\//(https:\/\/github.com\/ReadAlongs\/Studio-Web\/blob\/${GITHUB_REF_NAME}\/packages\/web-component\/test-data\//g' dist/packages/web-component/README.md
0 commit comments