Skip to content

Commit

Permalink
Merge pull request #66 from sbesson/nodejs20_actions_upgrade
Browse files Browse the repository at this point in the history
Bump all action versions to work with Node.js 20
  • Loading branch information
sbesson authored May 8, 2024
2 parents 0319559 + 6b687fd commit 5bf70d2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand All @@ -45,38 +45,38 @@ jobs:
c:\msys64\usr\bin\wget.exe 'https://github.com/glencoesoftware/c-blosc-windows-x86_64/releases/download/20220919/blosc.dll'
- if: ${{ matrix.os == 'windows-latest' }}
name: Run jpackage with Gradle (installer)
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
arguments: jpackage
- if: ${{ matrix.os == 'macos-latest' }}
name: Run jpackage with Gradle (application image only)
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
arguments: jpackageImageZip
- if: ${{ matrix.os == 'macos-latest' }}
name: Generate dependency report
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
arguments: downloadLicenses
- if: ${{ matrix.os == 'macos-latest' }}
name: Upload Mac pkg
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: macos-package
path: ./build/distributions/*.zip
if-no-files-found: error
retention-days: 3
- if: ${{ matrix.os == 'windows-latest' }}
name: Upload Windows MSI
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: windows-package
path: ./build/jpackage/*.msi
if-no-files-found: error
retention-days: 3
- if: ${{ matrix.os == 'macos-latest' }}
name: Upload Mac pkg
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dependency-report
path: ./build/reports/license/dependency-license*
Expand All @@ -89,7 +89,7 @@ jobs:
if: startswith(github.ref, 'refs/tags/')
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
- name: List artifacts
run: ls -R
- name: Create release draft
Expand Down

0 comments on commit 5bf70d2

Please sign in to comment.