mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 14:41:23 +08:00
update: workflows 配置更新
This commit is contained in:
@@ -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,7 +2,7 @@ name: Update Docker Hub Description
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
paths:
|
||||
- README.MD
|
||||
- .github/workflows/DockerHub-Description.yml
|
||||
|
||||
@@ -2,9 +2,9 @@ name: Node.js CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
||||
Reference in New Issue
Block a user