This repository has been archived by the owner on Sep 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
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,51 @@ | ||
name: test-release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
path: '36' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.6' | ||
- run: cd 36 && zip -r ../17wanxiaoCheckin.${{ github.ref_name }}.zip ./ | ||
- run: cd 36 && pip install -r requirements.txt -t . && zip -r ../17wanxiaoCheckin-CF.py36.${{ github.ref_name }}.zip ./ | ||
|
||
- uses: actions/checkout@v3 | ||
with: | ||
path: '37' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.7' | ||
- run: cd 37 && pip install -r requirements.txt -t . && zip -r ../17wanxiaoCheckin-CF.py37.${{ github.ref_name }}.zip ./ | ||
|
||
- uses: actions/checkout@v3 | ||
with: | ||
path: '39' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- run: cd 39 && pip install -r requirements.txt -t . && zip -r ../17wanxiaoCheckin-CF.py39.${{ github.ref_name }}.zip ./ | ||
|
||
- run: ls | ||
- name: GH Release | ||
uses: softprops/[email protected] | ||
# if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
tag_name: ${{ github.ref_name }} | ||
name: 17wanxiaoCheckin ${{ github.ref_name }} | ||
body_path: 36/CHANGELOG.txt | ||
draft: false | ||
prerelease: false | ||
files: | | ||
17wanxiaoCheckin.${{ github.ref_name }}.zip | ||
17wanxiaoCheckin-CF.py36.${{ github.ref_name }}.zip | ||
17wanxiaoCheckin-CF.py37.${{ github.ref_name }}.zip | ||
17wanxiaoCheckin-CF.py39.${{ github.ref_name }}.zip |
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 @@ | ||
### ⚡ChangeLog | ||
|
||
* 🔥添加 ver 验证字段,当前部分学校已经开始检验此字段,没有当前字段可能会显示打卡模板不对 | ||
* 🌟基于目前频繁出现交换密钥失败,添加重试装饰器,失败时会休眠 10 s,重试 5 次,大概率能解决此问题 | ||
* 👏服务器或本地运行请下载没有 CF 后缀的,云函数请下载带 CF 后缀,不同的 py 后缀是不同的 py 版本 | ||
------ | ||
蓝奏云链接:https://lingsiki.lanzouw.com/b0ekhmcxe 密码:2333 |