summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2021-08-26 01:24:01 +0800
committerGitHub <[email protected]>2021-08-26 01:24:01 +0800
commit81b48a78fe800c278b67e7f861fa507e32f86df3 (patch)
tree09a2dc4ce44d082383ce74108d43ef54897ea5ef
parentc177a4d279b159a76d737e6b4ae547ccdd979a4e (diff)
downloadATRI-81b48a78fe800c278b67e7f861fa507e32f86df3.tar.gz
ATRI-81b48a78fe800c278b67e7f861fa507e32f86df3.tar.bz2
ATRI-81b48a78fe800c278b67e7f861fa507e32f86df3.zip
🔥 移除 action
-rw-r--r--.github/workflows/requirements.yml41
1 files changed, 0 insertions, 41 deletions
diff --git a/.github/workflows/requirements.yml b/.github/workflows/requirements.yml
deleted file mode 100644
index 7c24d4c..0000000
--- a/.github/workflows/requirements.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-name: Generate Requirements
-
-on:
- workflow_dispatch:
-
- push:
- paths:
- - poetry.lock
- - pyproject.toml
- - requirements.txt
-
-jobs:
- generate:
- name: Requirements
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
-
- - uses: actions/setup-python@v2
- with:
- python-version: 3.8
-
- - uses: Gr1N/setup-poetry@v4
- with:
- path: ~/.cache/pypoetry
- key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
- restore-keys: ${{ runner.os }}-poetry-
-
- - name: Generate dependencies
- run: |
- poetry export -f requirements.txt -o requirements.txt
-
- - name: Push to repository
- run: |
- [[ -z "$(git status -s)" ]] && exit
- git config user.name github-action
- git config user.email [email protected]
- git add requirements.txt
- git commit -am ":pushpin: Update requirements.txt"
- git push