Skip to content

Commit

Permalink
fix:修复工作流
Browse files Browse the repository at this point in the history
  • Loading branch information
HalcyonAlcedo committed Sep 2, 2024
1 parent c6aabb2 commit e5deed8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ jobs:
git config user.name "GitHub Action"
git config user.email "action@github.com"
- name: Stash lib folder before switching branch
run: |
git add lib/ -f
git stash
- name: Checkout or create main branch
run: |
git fetch origin
git checkout main || git checkout -b main
- name: Remove node-karin from package.json
run: |
npm uninstall node-karin --save-dev
git add package.json
git commit -m "Remove node-karin from devDependencies" || echo "No changes to commit"
git stash pop
- name: Prepare main branch
run: |
Expand Down

0 comments on commit e5deed8

Please sign in to comment.