mirror of
https://github.com/GrandDuke1106/AutoApiSS.git
synced 2024-12-26 18:46:24 -05:00
update workflow
This commit is contained in:
parent
aef38f51f8
commit
aaedf710d3
4
.github/workflows/AutoApiSuper.yml
vendored
4
.github/workflows/AutoApiSuper.yml
vendored
@ -18,9 +18,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Python #安装python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.9
|
||||
- name: Install requests #安装requests
|
||||
|
11
.github/workflows/randomapi.yml
vendored
11
.github/workflows/randomapi.yml
vendored
@ -18,9 +18,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Python #安装python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.9
|
||||
- name: Update randapi #更新api排序
|
||||
@ -28,10 +28,9 @@ jobs:
|
||||
python updaterand.py
|
||||
- name: Commit #上传新的排序到仓库
|
||||
run: |
|
||||
git config --global user.email AutoupdateRobot@email.com
|
||||
git config --global user.name AutoupdateRobot
|
||||
git add .
|
||||
git commit -m "update new randapi" -a
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git commit -a -m "update new randapi"
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
|
11
.github/workflows/uaptetoken.yml
vendored
11
.github/workflows/uaptetoken.yml
vendored
@ -19,9 +19,9 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Python #安装python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.9
|
||||
- name: Install requests #安装requests
|
||||
@ -55,10 +55,9 @@ jobs:
|
||||
rm -f keylist2.txt
|
||||
- name: Commit #上传新的refresh_token到仓库
|
||||
run: |
|
||||
git config --global user.email AutoupdateRobot@email.com
|
||||
git config --global user.name AutoupdateRobot
|
||||
git add .
|
||||
git commit -m "update new refresh_token" -a
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git commit -a -m "update new refresh_token"
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user