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 authored Mar 29, 2024
1 parent 66b1685 commit 1b95794
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,13 @@ jobs:
shell: bash
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 ;;
if command -v apt; then
sudo apt -q update && sudo apt -qy install protobuf-compiler ;;
protoc --version
esac
java -version
javac -version
protoc --version || true
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
Expand All @@ -55,9 +51,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 +85,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 1b95794

Please sign in to comment.