From 2ab0c1c22a979da5ee95636d7956ce1193b34a9d Mon Sep 17 00:00:00 2001 From: Tobias Roeser Date: Thu, 8 Aug 2024 09:30:45 +0200 Subject: [PATCH] CI: Adapt CI for 0.11.x branch --- .github/workflows/actions.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 4905c54affe3..42eefc84de92 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -14,7 +14,7 @@ name: CI on: push: branches: - - main + - 0.11.x tags: - '**' pull_request: @@ -160,7 +160,7 @@ jobs: publish-sonatype: # when in master repo, publish all tags and manual runs on main - if: github.repository == 'com-lihaoyi/mill' && (startsWith( github.ref, 'refs/tags/') || (github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' ) ) + if: github.repository == 'com-lihaoyi/mill' && (startsWith( github.ref, 'refs/tags/') || (github.ref == 'refs/heads/0.11.x' && github.event_name == 'workflow_dispatch' ) ) needs: [linux, windows, compiler-bridge, format-check, bincompat-check, scalafix-check, itest] runs-on: ubuntu-latest @@ -194,7 +194,7 @@ jobs: release-github: # when in master repo, publish all tags and manual runs on main - if: github.repository == 'com-lihaoyi/mill' && (startsWith( github.ref, 'refs/tags/') || (github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' ) ) + if: github.repository == 'com-lihaoyi/mill' && (startsWith( github.ref, 'refs/tags/') || (github.ref == 'refs/heads/0.11.x' && github.event_name == 'workflow_dispatch' ) ) needs: publish-sonatype runs-on: ubuntu-latest