Skip to content

Commit 920a9c0

Browse files
authored
Update publish.yml
1 parent 94e1a12 commit 920a9c0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55

66
permissions:
77
contents: write
8-
workflows: write
98

109
jobs:
1110

@@ -24,9 +23,7 @@ jobs:
2423
- run: echo "NPM_PACKAGE_VERSION_MAJOR=$(echo "${{ env.NPM_PACKAGE_VERSION }}" | cut -d. -f1)" | tee -a $GITHUB_ENV
2524
- run: |
2625
sed -i "s|\(uses:[[:space:]]*forproxyband/vector-code-map@\)v[0-9.]*|\1${{ env.NPM_PACKAGE_VERSION }}|g" README.md
27-
- run: |
28-
sed -i "s|\(uses:[[:space:]]*forproxyband/vector-code-map@\)v[0-9.]*|\1${{ env.NPM_PACKAGE_VERSION }}|g" .github/workflows/update-vector-map.yml
29-
- run: git add package.json package-lock.json README.md .github/workflows/update-vector-map.yml
26+
- run: git add package.json package-lock.json README.md
3027
- run: |
3128
git commit -m "Set version ${{ env.NPM_PACKAGE_VERSION }} by ${GITHUB_ACTOR}"
3229
git push -u origin main

0 commit comments

Comments
 (0)