mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-04 19:29:59 +08:00
Update Generate.yml
This commit is contained in:
@@ -21,17 +21,18 @@ jobs:
|
|||||||
- name: poetry lock
|
- name: poetry lock
|
||||||
run: |
|
run: |
|
||||||
rm -f poetry.lock
|
rm -f poetry.lock
|
||||||
sed -i "8,11d" pyproject.toml
|
sed -i.bak "8,11d" pyproject.toml
|
||||||
poetry lock
|
poetry lock
|
||||||
|
mv pyproject.toml.bak pyproject.toml
|
||||||
# commit
|
# commit
|
||||||
- name: commit file
|
- name: commit file
|
||||||
run: |
|
run: |
|
||||||
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 add poetry.lock
|
git add poetry.lock
|
||||||
git commit -m "${date}n: Auto generate poetry.lock" -a
|
git commit -m "Auto generate poetry.lock" -a
|
||||||
# push
|
# push
|
||||||
- name: push changes
|
- name: push changes
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.ACCESS_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -48,4 +48,3 @@ wordcloud = "^1.8.1"
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core>=1.0.0"]
|
requires = ["poetry-core>=1.0.0"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user