Workflows um Format Stage erweitern #175
@@ -102,7 +102,6 @@ jobs:
|
|||||||
git add lib test
|
git add lib test
|
||||||
git commit -m "Auto-format code"
|
git commit -m "Auto-format code"
|
||||||
git push
|
git push
|
||||||
# Alt: git push https://oauth2:${{ secrets.BOT_TOKEN }}@git.yannick-weigert.de/liquid-development/game-tracker.git HEAD:${{ gitea.head_ref }}
|
|
||||||
else
|
else
|
||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
fi
|
fi
|
||||||
@@ -110,8 +109,7 @@ jobs:
|
|||||||
- name: Verify format
|
- name: Verify format
|
||||||
run: flutter analyze lib test
|
run: flutter analyze lib test
|
||||||
|
|
||||||
|
update version:
|
||||||
update-version:
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -134,7 +132,7 @@ jobs:
|
|||||||
git config --global user.email "actions@gitea.com"
|
git config --global user.email "actions@gitea.com"
|
||||||
git add pubspec.yaml
|
git add pubspec.yaml
|
||||||
git commit -m "Updated version number"
|
git commit -m "Updated version number"
|
||||||
# git push
|
git push
|
||||||
git push --force
|
# git push --force
|
||||||
# https://oauth2:${{ secrets.BOT_TOKEN }}@git.yannick-weigert.de/liquid-development/game-tracker.git HEAD:${{ gitea.head_ref }}
|
# https://oauth2:${{ secrets.BOT_TOKEN }}@git.yannick-weigert.de/liquid-development/game-tracker.git HEAD:${{ gitea.head_ref }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user