mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-23 07:33:10 +00:00
update: workflows 配置更新
This commit is contained in:
parent
2ae029fb2a
commit
4ad08e0222
4
.github/workflows/Build_Image.yml
vendored
4
.github/workflows/Build_Image.yml
vendored
@ -7,12 +7,12 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: github.event.base_ref == 'refs/heads/master'
|
if: github.event.base_ref == 'refs/heads/main'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Build image job
|
name: Build image job
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout master
|
- name: Checkout main
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: get_version
|
id: get_version
|
||||||
|
2
.github/workflows/DockerHub-Description.yml
vendored
2
.github/workflows/DockerHub-Description.yml
vendored
@ -2,7 +2,7 @@ name: Update Docker Hub Description
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
paths:
|
paths:
|
||||||
- README.MD
|
- README.MD
|
||||||
- .github/workflows/DockerHub-Description.yml
|
- .github/workflows/DockerHub-Description.yml
|
||||||
|
4
.github/workflows/node.js.yml
vendored
4
.github/workflows/node.js.yml
vendored
@ -2,9 +2,9 @@ name: Node.js CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user