Skip to content

Commit

Permalink
Update build.yml to publish codecov consistently, fix names of jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ascopes committed Mar 31, 2024
1 parent c3bc11e commit 7cbbcd3
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,15 @@ jobs:
run: |-
set -eux
case "${{ matrix.os-name }}" in
# TODO: uncomment once protoc 4.26.0 is used globally.
#macos-*) brew install protobuf ;;
ubuntu-*) sudo apt -q update && sudo apt -qy install protobuf-compiler ;;
# TODO: uncomment once protoc 4.26.0 is used globally.
#windows-*) choco install protoc ;;
macos-*) brew install protobuf ;;
ubuntu-*) sudo apt update -q && sudo apt install protobuf-compiler
-qy ;;
windows-*) choco install protoc ;;
esac

protoc --version
java -version
javac -version
protoc --version || true

- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
Expand All @@ -55,9 +54,11 @@ jobs:
uses: codecov/codecov-action@v3
continue-on-error: true
if: always()
with:
token: ${{ secrets.CODECOV_TOKEN }}

build-x86_64-oldmaven:
name: mvn 3.8.1 jdk-11/ubuntu-latest/x86_64
build-x86_64-linux-oldmaven:
name: jdk-11/ubuntu-latest/x86_64 (oldest supported Maven)
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -87,8 +88,10 @@ jobs:
uses: codecov/codecov-action@v3
continue-on-error: true
if: always()
with:
token: ${{ secrets.CODECOV_TOKEN }}

build-crossarch-ubuntu:
build-crossarch-linux:
name: jdk-11/ubuntu-latest/${{ matrix.arch }}
runs-on: ubuntu-latest

Expand Down

0 comments on commit 7cbbcd3

Please sign in to comment.