Skip to content

Commit

Permalink
CI: Adapt CI for 0.11.x branch (#3350)
Browse files Browse the repository at this point in the history
Pull request: #3350
  • Loading branch information
lefou authored Aug 8, 2024
1 parent 0767b7c commit 2a07a78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: CI
on:
push:
branches:
- main
- 0.11.x
tags:
- '**'
pull_request:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 2a07a78

Please sign in to comment.