Update Generate.yml

This commit is contained in:
AkashiCoin 2022-05-22 02:30:04 +08:00
parent d7d8efd305
commit c8ac2b6281
2 changed files with 4 additions and 4 deletions

View File

@ -21,17 +21,18 @@ jobs:
- name: poetry lock
run: |
rm -f poetry.lock
sed -i "8,11d" pyproject.toml
sed -i.bak "8,11d" pyproject.toml
poetry lock
mv pyproject.toml.bak pyproject.toml
# commit
- name: commit file
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add poetry.lock
git commit -m "${date}n: Auto generate poetry.lock" -a
git commit -m "Auto generate poetry.lock" -a
# push
- name: push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -48,4 +48,3 @@ wordcloud = "^1.8.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"