From 3915ce9814b8261a1ab13ed93adec58b463cd75c Mon Sep 17 00:00:00 2001 From: JustSong Date: Fri, 27 Dec 2024 22:01:37 +0800 Subject: [PATCH] chore: update ci yaml --- .github/workflows/docker-image-en.yml | 1 - .github/workflows/docker-image.yml | 1 - .github/workflows/linux-release.yml | 1 - .github/workflows/macos-release.yml | 1 - .github/workflows/windows-release.yml | 1 - 5 files changed, 5 deletions(-) diff --git a/.github/workflows/docker-image-en.yml b/.github/workflows/docker-image-en.yml index 4c67cfb7..30cd0e38 100644 --- a/.github/workflows/docker-image-en.yml +++ b/.github/workflows/docker-image-en.yml @@ -12,7 +12,6 @@ on: jobs: push_to_registries: name: Push Docker image to multiple registries - if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest permissions: packages: write diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index b1c0fe73..56f1d6ad 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -13,7 +13,6 @@ jobs: push_to_registries: name: Push Docker image to multiple registries runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' permissions: packages: write contents: read diff --git a/.github/workflows/linux-release.yml b/.github/workflows/linux-release.yml index ff1556f2..161c41e3 100644 --- a/.github/workflows/linux-release.yml +++ b/.github/workflows/linux-release.yml @@ -15,7 +15,6 @@ on: jobs: release: runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/macos-release.yml b/.github/workflows/macos-release.yml index d98c73dd..94b3e47b 100644 --- a/.github/workflows/macos-release.yml +++ b/.github/workflows/macos-release.yml @@ -15,7 +15,6 @@ on: jobs: release: runs-on: macos-latest - if: github.ref == 'refs/heads/main' steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/windows-release.yml b/.github/workflows/windows-release.yml index 644d6fa6..18641ae8 100644 --- a/.github/workflows/windows-release.yml +++ b/.github/workflows/windows-release.yml @@ -15,7 +15,6 @@ on: jobs: release: runs-on: windows-latest - if: github.ref == 'refs/heads/main' defaults: run: shell: bash