Skip to content

Commit

Permalink
Update actions for Node 20 (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Jun 10, 2024
1 parent b6c8ff6 commit c59402c
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'true'
- run: sudo apt-get update && sudo apt-get install ant -y && sudo rm -rf /var/lib/apt/lists/* && sudo rm -f /bin/ant && sudo ln -s /usr/share/ant/bin/ant /bin/ant
Expand All @@ -39,7 +39,7 @@ jobs:
if: matrix.artifact-name == 'Arm32'
- run: ./gradlew build -PjenkinsBuild ${{ matrix.build-options }}
name: Build with Gradle
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact-name }}
path: gradleDir/outputs/
Expand Down Expand Up @@ -71,10 +71,10 @@ jobs:
name: "Build - ${{ matrix.artifact-name }}"
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
Expand All @@ -88,7 +88,7 @@ jobs:
gradlew build -PjenkinsBuild ${{ matrix.build-options }}
shell: cmd
name: Build with Gradle
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact-name }}
path: gradleDir/outputs/
Expand All @@ -97,16 +97,16 @@ jobs:
name: "Build - macOS"
runs-on: macOS-14
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- run: ./gradlew build -PjenkinsBuild
name: Build with Gradle
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: macOS
path: gradleDir/outputs/
Expand All @@ -115,16 +115,16 @@ jobs:
name: "Build - macOS (Arm)"
runs-on: macOS-14
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- run: ./gradlew build -PjenkinsBuild -Pforcealternatemacbuild
name: Build with Gradle
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: macOSArm
path: gradleDir/outputs/
Expand All @@ -135,15 +135,15 @@ jobs:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: macOS
path: build/downloads
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: macOSArm
path: build/downloads
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
Expand Down Expand Up @@ -176,10 +176,10 @@ jobs:
needs: [build-docker, build-windows, make_universal]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: wpilibsuite/build-tools
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: combiner/products/build/allOutputs
- name: Flatten Artifacts
Expand All @@ -200,7 +200,7 @@ jobs:
RUN_AZURE_ARTIFACTORY_RELEASE: 'TRUE'
ARTIFACTORY_PUBLISH_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PUBLISH_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Maven
path: ~/releases

0 comments on commit c59402c

Please sign in to comment.