Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Update GitHub Actions to fix deprecation warnings #66

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/gradle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
name: ${{ matrix.os }}
steps:
- name: Git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Echo JAVA_HOME
run: echo $JAVA_HOME
- name: Verify Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3
- name: Execute build (macOS & Ubuntu)
if: matrix.os != 'windows-2022'
run: ./gradlew --info build
Expand All @@ -33,13 +33,13 @@ jobs:
run: .\gradlew.bat --info build
- name: Upload TAR as an artifact
if: matrix.os != 'windows-2022'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: kafkaesque-jdk${{ matrix.java }}-${{ matrix.os }}-tar
path: build/distributions/*.tar
- name: Upload ZIP as an artifact
if: matrix.os == 'windows-2022'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: kafkaesque-jdk${{ matrix.java }}-${{ matrix.os }}-zip
path: build/distributions/*.zip
Expand All @@ -57,37 +57,37 @@ jobs:
run: .\gradlew.bat --info jpackage
- name: Upload DMG as an artifact
if: matrix.os == 'macos-12'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: kafkaesque-jdk${{ matrix.java }}-${{ matrix.os }}-dmg
path: build/jpackage/*.dmg
- name: Upload PKG as an artifact
if: matrix.os == 'macos-12'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: kafkaesque-jdk${{ matrix.java }}-${{ matrix.os }}-pkg
path: build/jpackage/*.pkg
- name: Upload DEB as an artifact
if: matrix.os == 'ubuntu-22.04'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: kafkaesque-jdk${{ matrix.java }}-${{ matrix.os }}-deb
path: build/jpackage/*.deb
- name: Upload RPM as an artifact
if: matrix.os == 'ubuntu-22.04'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: kafkaesque-jdk${{ matrix.java }}-${{ matrix.os }}-rpm
path: build/jpackage/*.rpm
- name: Upload EXE as an artifact
if: matrix.os == 'windows-2022'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: kafkaesque-jdk${{ matrix.java }}-${{ matrix.os }}-exe
path: build/jpackage/*.exe
- name: Upload MSI as an artifact
if: matrix.os == 'windows-2022'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: kafkaesque-jdk${{ matrix.java }}-${{ matrix.os }}-msi
path: build/jpackage/*.msi
Expand All @@ -99,14 +99,14 @@ jobs:
startsWith(github.ref, 'refs/tags/') &&
matrix.os == 'macos-12'
- name: Create release (macOS)
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: |
startsWith(github.ref, 'refs/tags/') &&
matrix.os == 'macos-12'
with:
files: build/jpackage/*.dmg
- name: Create release (Ubuntu)
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: |
startsWith(github.ref, 'refs/tags/') &&
matrix.os == 'ubuntu-22.04'
Expand All @@ -115,7 +115,7 @@ jobs:
build/jpackage/*.deb
build/jpackage/*.rpm
- name: Create release (Windows)
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: |
startsWith(github.ref, 'refs/tags/') &&
matrix.os == 'windows-2022'
Expand Down
Loading