File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -16,27 +16,6 @@ concurrency:
1616 cancel-in-progress : true
1717
1818jobs :
19- # Extract metadata to allow for conditioning builds on commit messages
20- job_metadata :
21- runs-on : ubuntu-latest
22- outputs :
23- commit_message : ${{ steps.get_commit_message.outputs.commit_message }}
24- steps :
25- - name : Checkout
26- uses : actions/checkout@v3
27- with :
28- fetch-depth : 2
29- - name : Print head git commit message
30- id : get_commit_message
31- run : |
32- if [[ -z "$COMMIT_MSG" ]]; then
33- COMMIT_MSG=$(git show -s --format=%s $REF)
34- fi
35- echo commit_message=$COMMIT_MSG | tee -a $GITHUB_OUTPUT
36- env :
37- COMMIT_MSG : ${{ github.event.head_commit.message }}
38- REF : ${{ github.event.pull_request.head.sha }}
39-
4019 build-sdist :
4120 name : Build sdist
4221 runs-on : ubuntu-latest
5433 build-wheel :
5534 # Runs on tags and commits with "[build wheels]" in the message
5635 name : Build wheel for ${{ matrix.python }}-${{ matrix.buildplat[1] }}
57- needs : [job_metadata, build-sdist]
36+ needs : [build-sdist]
5837 runs-on : ${{ matrix.buildplat[0] }}
59- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') || contains(needs.job_metadata.outputs.commit_message, '[build wheels]')
6038 strategy :
6139 fail-fast : false
6240 matrix :
You can’t perform that action at this time.
0 commit comments