Skip to content

Commit

Permalink
fix and run tag step
Browse files Browse the repository at this point in the history
  • Loading branch information
webair committed Apr 26, 2024
1 parent 1a1c943 commit 02c0b47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
--tag publish_vite_plugin_vue_examples \
--load \
.
- name: Publish vite_plugin_vue_examples
run: |
docker run -e NPM_AUTH_TOKEN="${{ secrets.NPM_AUTH_TOKEN }}" publish_vite_plugin_vue_examples
# - name: Publish vite_plugin_vue_examples
# run: |
# docker run -e NPM_AUTH_TOKEN="${{ secrets.NPM_AUTH_TOKEN }}" publish_vite_plugin_vue_examples
- name: Tag published version
run: |
version=$(jq -r '.version' package.json)
git config --global user.name "Github Action"
git config --global user.email ""
git tag -a "v${version}"
git tag "v${version}"
- name: Prevent consistently growing buildx cache
run: |
rm -rf /tmp/.buildx-cache
Expand Down

0 comments on commit 02c0b47

Please sign in to comment.