Skip to content

自动更新数据的工作流 #1

自动更新数据的工作流

自动更新数据的工作流 #1

Workflow file for this run

name: auto-update
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
# 指定要检出的仓库,默认为当前仓库
repository: thewakingsands/ffxiv-datamining-cn
# 指定要检出的分支,默认为默认分支
ref: master
- name: List files in the repository
run: git tag --list 'patch-.*'
- name: Setup Python
if: steps.changes.outputs.version == 'true'
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install dependencies
if: steps.changes.outputs.version == 'true'
run: |
python -m pip install --upgrade pip
pip install requests