Skip to content

Commit 014e337

Browse files
committed
Version 1.6.17
QoL: Format code with `black` Github Actions: Build and upload on Windows runner
1 parent 35aa998 commit 014e337

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/workflows/build-and-publish.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
1-
name: Publish
1+
name: Build And Publish
22

33
on:
44
release:
55
types: [created]
6-
6+
7+
push:
8+
branches:
9+
- master
10+
11+
workflow_dispatch:
12+
713
jobs:
814
build-and-release:
915
if: "contains(github.event.head_commit.message, 'Version')"
1016
runs-on: windows-latest
1117
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
1520
with:
16-
python-version: '3.x'
21+
python-version: '3.7'
22+
architecture: 'x86'
1723
- name: Install dependencies
1824
run: |
1925
python -m pip install --upgrade pip setuptools wheel twine

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![Logo](https://github.com/greats3an/pyncm/raw/master/demos/_logo.png)
22

33
# 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)
55

66
第三方网易云音乐 Python API 及个人音乐库离线转储工具
77

0 commit comments

Comments
 (0)