Skip to content

Commit

Permalink
[ci] update actions for node 20 (#300)
Browse files Browse the repository at this point in the history
Add gradle wrapper validation
  • Loading branch information
sciencewhiz authored Jun 3, 2024
1 parent 54be4c7 commit fc313bc
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,18 @@ jobs:
name: "Build - ${{ matrix.artifact-name }}"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

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

- uses: gradle/actions/wrapper-validation@v3

- uses: wpilibsuite/import-signing-certificate@v1
with:
certificate-data: ${{ secrets.APPLE_CERTIFICATE_DATA }}
Expand All @@ -71,7 +73,7 @@ jobs:
run: ./gradlew copyAllOutputs -PArchOverride=${{ matrix.arch-override }} -PbuildServer -PreleaseMode -PdeveloperID=${{ secrets.APPLE_DEVELOPER_ID }}
if: ${{ (matrix.arch-override != 'none') && (github.repository_owner == 'wpilibsuite' && startsWith(github.ref, 'refs/tags/v')) }}

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact-name }}
path: build/allOutputs
Expand All @@ -81,16 +83,16 @@ jobs:
needs: build
name: "Combine"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: build/allOutputs

Expand Down Expand Up @@ -121,7 +123,7 @@ jobs:
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 fc313bc

Please sign in to comment.