git stash 2
Some checks failed
ci / build (push) Failing after 1h42m35s

This commit is contained in:
miwr 2025-04-10 11:15:02 +02:00
parent 6645524ea8
commit 329c402d10

View file

@ -43,9 +43,7 @@ jobs:
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')" repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
fullrepo=https://${registry}/${repository}.git fullrepo=https://${registry}/${repository}.git
git init git init
git stash # git pull ${fullrepo}
git pull ${fullrepo}
git stash pop
npm install @angular/cli npm install @angular/cli
npm run lint npm run lint
- name: Update version - name: Update version
@ -60,7 +58,9 @@ jobs:
git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "GitHub Actions Bot" git config --local user.name "GitHub Actions Bot"
# git checkout -- package-lock.json package.json # git checkout -- package-lock.json package.json
git stash
git pull git pull
git stash pop
jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json
git add . git add .
git commit -m "Automated update by GitHub Actions" git commit -m "Automated update by GitHub Actions"