-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from chenmozhijin/py
使用python重构
- Loading branch information
Showing
53 changed files
with
145,113 additions
and
109,956 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: '准备运行环境' | ||
description: '准备运行环境' | ||
runs: | ||
using: "composite" | ||
steps: | ||
# 建立环境 | ||
- name: 复制文件 | ||
run: mkdir -p /opt/OpenWrt-K && cp -RT $GITHUB_WORKSPACE /opt/OpenWrt-K | ||
shell: bash | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
cache: 'pip' | ||
- name: Install Dependencies | ||
run: | | ||
python -m pip install -U pip | ||
python -m pip install -r /opt/OpenWrt-K/build_helper/requirements.txt | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: '上传文件' | ||
description: '上传文件' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- run: echo "没有要上传的文件" | ||
shell: bash |
Oops, something went wrong.