ISSDK-1893: CI: Fix Gradle setup on Linux/Windows and update GitHub Actions off deprecated Node.js 20#178
Open
sagadira wants to merge 2 commits into
Open
ISSDK-1893: CI: Fix Gradle setup on Linux/Windows and update GitHub Actions off deprecated Node.js 20#178sagadira wants to merge 2 commits into
sagadira wants to merge 2 commits into
Conversation
…setup-gradle@v6 with version 8.14.3 to linux.yaml - Add gradle-version parameter to Windows gradle setup - Add cache: gradle to setup-java steps - Update Gradle command syntax to use --project-dir - Update upload-artifact to v7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes CI infrastructure issues in the GitHub Actions workflows for
CiscoM31/openapi-generator. These changes were previously bundled in PR #176 (ISSDK-692) and have been split out into their own PR under ISSDK-1893.Changes
.github/workflows/linux.yamlgradle/actions/setup-gradle@v6with pinnedgradle-version: 8.14.3cache: gradletosetup-javastepsgradle -b <build.gradle>togradle --project-dir <dir>upload-artifactto v7.github/workflows/windows.yamlgradle-versionparameter to the Windows Gradle setupcache: gradletosetup-javastepsGitHub Actions Node.js 20 deprecation
checkout@v5,setup-java@v5,cache@v5,download-artifact@v5),upload-artifact@v7, ands4u/setup-maven-action@v1.20.0to move off the deprecated Node.js 20 runner.Why
gradle/actions/setup-gradle@v6and using--project-dirmakes the builds reproducible.Related