mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 14:43: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:
|
||||
build:
|
||||
if: github.event.base_ref == 'refs/heads/master'
|
||||
if: github.event.base_ref == 'refs/heads/main'
|
||||
runs-on: ubuntu-latest
|
||||
name: Build image job
|
||||
|
||||
steps:
|
||||
- name: Checkout master
|
||||
- name: Checkout main
|
||||
uses: actions/checkout@v3
|
||||
- name: 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:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
paths:
|
||||
- README.MD
|
||||
- .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:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user