ARS-docs/.gitea/workflows/label.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 30: cannot unmarshal !!map into string
shenjack 67a75d6bdf 添加一波模块 (#7)
后面加一下每一个的信息
开一堆issue
@cree
我谢谢你啊

Co-authored-by: creepebucket <3327018890@qq.com>
Reviewed-on: http://shenjack.top:5100/ARS/ARS-docs/pulls/7
2023-12-14 10:09:40 +08:00

47 lines
1.1 KiB
YAML

name: 自动生成 label
# main 分支推送
on:
[push]
# push:
# branches:
# - main
jobs:
Generate-label:
runs-on: node-21
steps:
- name: 获取仓库
uses: http://shenjack.top:5100/gitea-server/checkout@v4
with:
path: main
# - name: 安装 Python
# uses: actions/setup-python
# - name: ensure pip
# uses: http://shenjack.top:5100/gitea-server/python-packs@1cd32b1235ba23d51524b6870c0735f63efcffc2
- name: ensurepip
uses: http://shenjack.top:5100/gitea-server/checkout@v4
with:
repository: gitea-server/python-packs
with:
path: python-packs
- name: 安装依赖
run: |
ls -la .
ls -la ..
ls -la ../..
python3 -m ../python-packs/ensurepip
python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
python3 -m pip install -U pip
python3 -m pip install mistune
- name: 生成 label
run: |
python3 generate_label.py
# https://gitea.com/actions/gitea-release-action