Skip to content

Commit

Permalink
Merge pull request #91 from kyutai-labs/rustymimi-less-ci
Browse files Browse the repository at this point in the history
Avoid running the rustymimi CI on each commit.
  • Loading branch information
LaurentMazare authored Sep 20, 2024
2 parents 22fb6f8 + 82ebba4 commit df968e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/rustymimi-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ permissions:
jobs:
linux:
runs-on: ${{ matrix.platform.runner }}
if: "startsWith(github.ref, 'refs/tags/rustymimi')"
strategy:
matrix:
platform:
Expand Down Expand Up @@ -52,6 +53,7 @@ jobs:

musllinux:
runs-on: ${{ matrix.platform.runner }}
if: "startsWith(github.ref, 'refs/tags/rustymimi')"
strategy:
matrix:
platform:
Expand Down Expand Up @@ -83,6 +85,7 @@ jobs:

windows:
runs-on: ${{ matrix.platform.runner }}
if: "startsWith(github.ref, 'refs/tags/rustymimi')"
strategy:
matrix:
platform:
Expand Down Expand Up @@ -110,6 +113,7 @@ jobs:

macos:
runs-on: ${{ matrix.platform.runner }}
if: "startsWith(github.ref, 'refs/tags/rustymimi')"
strategy:
matrix:
platform:
Expand All @@ -136,6 +140,7 @@ jobs:

sdist:
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/rustymimi')"
steps:
- uses: actions/checkout@v4
- name: Build sdist
Expand All @@ -152,7 +157,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
if: "startsWith(github.ref, 'refs/tags/rustymimi')"
needs: [linux, musllinux, windows, macos, sdist]
permissions:
id-token: write
Expand Down

0 comments on commit df968e5

Please sign in to comment.