File tree 2 files changed +13
-7
lines changed
2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1
- name : Publish
1
+ name : Build And Publish
2
2
3
3
on :
4
4
release :
5
5
types : [created]
6
-
6
+
7
+ push :
8
+ branches :
9
+ - master
10
+
11
+ workflow_dispatch :
12
+
7
13
jobs :
8
14
build-and-release :
9
15
if : " contains(github.event.head_commit.message, 'Version')"
10
16
runs-on : windows-latest
11
17
steps :
12
- - uses : actions/checkout@v2
13
- - name : Set up Python
14
- uses : actions/setup-python@v2
18
+ - uses : actions/checkout@v3
19
+ - uses : actions/setup-python@v4
15
20
with :
16
- python-version : ' 3.x'
21
+ python-version : ' 3.7'
22
+ architecture : ' x86'
17
23
- name : Install dependencies
18
24
run : |
19
25
python -m pip install --upgrade pip setuptools wheel twine
Original file line number Diff line number Diff line change 1
1
![ Logo] ( https://github.com/greats3an/pyncm/raw/master/demos/_logo.png )
2
2
3
3
# PyNCM
4
- [ ![ Windows Build] ( https://github.com/mos9527/pyncm/actions/workflows/build-and-publish.yml/badge.svg )] ( https://github.com/mos9527/pyncm/blob/main /.github/workflows/build-and-publish.yml ) [ ![ Releases] ( https://img.shields.io/github/downloads/mos9527/pyncm/total.svg )] ( https://GitHub.com/mos9527/pyncm/releases/ ) [ ![ Code style: black] ( https://img.shields.io/badge/code%20style-black-000000.svg )] ( https://github.com/psf/black )
4
+ [ ![ Windows Build] ( https://github.com/mos9527/pyncm/actions/workflows/build-and-publish.yml/badge.svg )] ( https://github.com/mos9527/pyncm/blob/master /.github/workflows/build-and-publish.yml ) [ ![ Releases] ( https://img.shields.io/github/downloads/mos9527/pyncm/total.svg )] ( https://GitHub.com/mos9527/pyncm/releases/ ) [ ![ Code style: black] ( https://img.shields.io/badge/code%20style-black-000000.svg )] ( https://github.com/psf/black )
5
5
6
6
第三方网易云音乐 Python API 及个人音乐库离线转储工具
7
7
You can’t perform that action at this time.
0 commit comments