Skip to content

Commit

Permalink
Only package graph_mate if it is being released
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwalker committed Dec 19, 2024
1 parent fdffcf1 commit bccda98
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ jobs:
macos-x86_64:
name: Package graph_mate for Mac x86_64
runs-on: macos-latest
if: "startsWith(github.ref, 'refs/tags/')"
if: startsWith(github.ref, 'refs/tags/') && inputs.crate == 'graph_mate'
needs: test_python
steps:
- name: Checkout code
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
macos-universal:
name: Package graph_mate for Mac Universal
runs-on: macos-latest
if: "startsWith(github.ref, 'refs/tags/')"
if: startsWith(github.ref, 'refs/tags/') && inputs.crate == 'graph_mate'
needs: test_python
steps:
- name: Checkout code
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
windows:
name: Package graph_mate for Windows
runs-on: windows-latest
if: "startsWith(github.ref, 'refs/tags/')"
if: startsWith(github.ref, 'refs/tags/') && inputs.crate == 'graph_mate'
needs: test_python
strategy:
matrix:
Expand Down Expand Up @@ -293,7 +293,7 @@ jobs:
linux:
name: Package graph_mate for Linux
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
if: startsWith(github.ref, 'refs/tags/') && inputs.crate == 'graph_mate'
needs: test_python
strategy:
matrix:
Expand Down Expand Up @@ -341,10 +341,6 @@ jobs:
- fmt
- clippy
- test_python
- macos-universal
- macos-x86_64
- windows
- linux
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit bccda98

Please sign in to comment.