Skip to content

Commit

Permalink
ci: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
chaunsin committed Nov 22, 2024
1 parent 72d14aa commit 07162e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ permissions:

jobs:
build:
if: ${{ github.repository == 'chaunsin/netease-cloud-music' }}
runs-on: ubuntu-latest
steps:
# Step 0: 检出代码
Expand Down Expand Up @@ -170,7 +171,7 @@ jobs:
body: |
${{ steps.changelog.outputs.compareurl }}
${{ steps.changelog.outputs.changelog }}
name: ${{github.ref_name}} Releases Test ci release please ignore!!!
name: ${{github.ref_name}} Releases
generate_release_notes: true
fail_on_unmatched_files: true
prerelease: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
jobs:
push:
name: Push Docker image to multiple registries
if: ${{ github.repository == 'chaunsin/netease-cloud-music' }}
runs-on: ubuntu-latest
permissions:
packages: write
Expand Down

0 comments on commit 07162e4

Please sign in to comment.