From 26f2850c8068cc1a64261923d8ed205d09cbac30 Mon Sep 17 00:00:00 2001 From: jfabellera Date: Tue, 9 Jan 2024 14:11:55 -0600 Subject: [PATCH] Use wpilib container --- .github/workflows/build.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6620659..c2aa6c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,6 +43,7 @@ jobs: - example: 'Velocity Closed Loop Control' name: 'Build ${{ matrix.example }} - ${{ matrix.language }}' runs-on: ubuntu-latest + container: wpilib/roborio-cross-ubuntu:2024-22.04 steps: - name: Checkout uses: actions/checkout@v3 @@ -59,17 +60,10 @@ jobs: restore-keys: | ${{ matrix.example }}-${{ matrix.language }}-build- - - name: Setup Java - uses: actions/setup-java@v3 - with: - distribution: 'zulu' - java-version: 17 - - name: Build # if: (matrix.language == 'Java' && !matrix.skip-java) || (matrix.language == 'C++' && !matrix.skip-cpp) run: | cd "${{ matrix.language }}" cd "${{ matrix.example }}" chmod +x gradlew - ./gradlew installRoboRioToolchain ./gradlew build