Skip to content

Commit

Permalink
Version 1.6.17
Browse files Browse the repository at this point in the history
QoL: Format code with `black`
Github Actions: Build and upload on Windows runner
  • Loading branch information
mos9527 committed Sep 24, 2024
1 parent 35aa998 commit 014e337
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
name: Publish
name: Build And Publish

on:
release:
types: [created]


push:
branches:
- master

workflow_dispatch:

jobs:
build-and-release:
if: "contains(github.event.head_commit.message, 'Version')"
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version: '3.7'
architecture: 'x86'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel twine
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![Logo](https://github.com/greats3an/pyncm/raw/master/demos/_logo.png)

# PyNCM
[![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)
[![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)

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

Expand Down

0 comments on commit 014e337

Please # to comment.