Skip to content

Auto Check and Update Patch Data #2

Auto Check and Update Patch Data

Auto Check and Update Patch Data #2

Workflow file for this run

name: Auto Check and Update Patch Data
on:
workflow_dispatch:
inputs:
Patch_version:
description: 'Please input the version of FF14 Patch'
required: true
schedule:
- cron: '0 15 * * 2'
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