Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Dec 13, 2024
1 parent daf61ac commit 0c8156f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/post-build-selective.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@ jobs:
with:
log-accepted-android-sdk-licenses: false

- run: ./mill -i -k selective.resolve ${{ inputs.millargs }}; ./mill -i -k selective.run ${{ inputs.millargs }}
if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'run-all-tests'))
- run: ./mill -i -k selective.resolve ${{ inputs.millargs }}

- run: ./mill -i -k ${{ inputs.millargs }}
if: (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-all-tests'))
- run: ./mill -i -k selective.run ${{ inputs.millargs }}

- run: 'taskkill -f -im java* && rm -rf out/mill-server/*'
if: startsWith(inputs.os, 'windows')
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pre-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ jobs:

- run: chmod -R 777 . # normalize permissions before and after upload/download-artifact

- run: echo -n > out/mill-selective-execution.json
shell: bash

- run: ./mill -i -k selective.prepare ${{ inputs.prepareargs }}
if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'run-all-tests')

- uses: actions/[email protected]
with:
Expand Down

0 comments on commit 0c8156f

Please sign in to comment.