Skip to content

test add dependent #157

test add dependent

test add dependent #157

Workflow file for this run

name: auto
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
TZ: "Asia/Shanghai"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi
- name: Update readme
run: |
cd scripts && python main.py merge_md_yaml
- name: Get date time
id: date
run: echo "::set-output name=date::$(date -u +%Y-%m-%dT%H:%M:%SZ)"
- name: Commit Updated
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "auto update @ ${{ steps.date.outputs.date }} ${{ env.TZ }}"