Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Apr 1, 2023
1 parent a3976ee commit 76abe80
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,37 +92,37 @@ jobs:
- name: Run '${{ matrix.buildcmd }}'
run: ${{ matrix.buildcmd }}

test-bin-compat:
strategy:
fail-fast: false
matrix:
java-version: [8]
buildcmd:
- ./mill -i -k __.mimaReportBinaryIssues

runs-on: ubuntu-latest
# when doing milestone builds, this may be true
continue-on-error: true

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: coursier/cache-action@v6

- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: temurin

- name: Prepare git config
run: |
git config --add user.name "Mill GithHub Actions"
git config --add user.email "mill-ci@localhost"
- name: Run '${{ matrix.buildcmd }}'
run: ${{ matrix.buildcmd }}
# test-bin-compat:
# strategy:
# fail-fast: false
# matrix:
# java-version: [8]
# buildcmd:
# - ./mill -i -k __.mimaReportBinaryIssues
#
# runs-on: ubuntu-latest
# # when doing milestone builds, this may be true
# continue-on-error: true
#
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
#
# - uses: coursier/cache-action@v6
#
# - uses: actions/setup-java@v3
# with:
# java-version: ${{ matrix.java-version }}
# distribution: temurin
#
# - name: Prepare git config
# run: |
# git config --add user.name "Mill GithHub Actions"
# git config --add user.email "mill-ci@localhost"
#
# - name: Run '${{ matrix.buildcmd }}'
# run: ${{ matrix.buildcmd }}

test-windows:
strategy:
Expand Down Expand Up @@ -169,7 +169,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' ) )
needs: [test, test-windows, test-bin-compat]
needs: [test, test-windows]

runs-on: ubuntu-latest

Expand Down

0 comments on commit 76abe80

Please sign in to comment.