diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 00186b6..45e917e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: - name: Setup NodeJS uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 with: - node-version: "20.x" + node-version: "24.x" # Run action according to the input version - name: Setup JFrog CLI diff --git a/action.yml b/action.yml index 3a92a7d..dfe5f75 100644 --- a/action.yml +++ b/action.yml @@ -4,7 +4,7 @@ author: "step-security" inputs: version: description: "JFrog CLI Version" - default: "2.88.0" + default: "2.91.0" required: false download-repository: description: "Remote repository in Artifactory pointing to 'https://releases.jfrog.io/artifactory/jfrog-cli'. Use this parameter in case you don't have an Internet access." @@ -42,7 +42,7 @@ outputs: oidc-user: description: "JFrog OIDC username from the OIDC token generated by the Setup JFrog CLI when setting oidc-provider-name." runs: - using: "node20" + using: "node24" main: "dist/index.js" post: "dist/post/index.js" branding: diff --git a/dist/index.js b/dist/index.js index e00ec0b..624fdac 100644 --- a/dist/index.js +++ b/dist/index.js @@ -52257,7 +52257,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"application/1d-interleaved-parityfec /***/ ((module) => { "use strict"; -module.exports = {"rE":"4.9.1"}; +module.exports = {"rE":"5.0.0"}; /***/ }) diff --git a/dist/post/index.js b/dist/post/index.js index f26b7a3..8a2c2df 100644 --- a/dist/post/index.js +++ b/dist/post/index.js @@ -43303,7 +43303,7 @@ module.exports = parseParams /***/ ((module) => { "use strict"; -module.exports = {"rE":"4.9.1"}; +module.exports = {"rE":"5.0.0"}; /***/ }) diff --git a/package-lock.json b/package-lock.json index 1aeb866..9a0e023 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@step-security/setup-jfrog-cli", - "version": "4.9.1", + "version": "5.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@step-security/setup-jfrog-cli", - "version": "4.9.1", + "version": "5.0.0", "license": "Apache-2.0", "dependencies": { "@actions/core": "~1.10.1", @@ -33,7 +33,7 @@ "typescript": "^5.4.5" }, "engines": { - "node": ">=20.0.0", + "node": ">=24.0.0", "npm": ">=10.0.0" } }, diff --git a/package.json b/package.json index fbc4483..ba2460e 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "@step-security/setup-jfrog-cli", - "version": "4.9.1", + "version": "5.0.0", "private": true, "description": "Setup JFrog CLI in GitHub Actions", "main": "dist/index.js", "engines": { "npm": ">=10.0.0", - "node": ">=20.0.0" + "node": ">=24.0.0" }, "scripts": { "build": "npm run compile && npm run package", diff --git a/src/utils.ts b/src/utils.ts index ef41683..6d97264 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -480,8 +480,8 @@ export class Utils { if (!jfrogCredentials.jfrogUrl) { throw new Error( `'download-repository' input provided, but no JFrog environment details found. ` + - `Hint - Ensure that the JFrog connection details environment variables are set: ` + - `either a Config Token with a JF_ENV_ prefix or separate env config (JF_URL, JF_USER, JF_PASSWORD, JF_ACCESS_TOKEN)`, + `Hint - Ensure that the JFrog connection details environment variables are set: ` + + `either a Config Token with a JF_ENV_ prefix or separate env config (JF_URL, JF_USER, JF_PASSWORD, JF_ACCESS_TOKEN)`, ); } serverObj.artifactoryUrl = jfrogCredentials.jfrogUrl.replace(/\/$/, '') + '/artifactory';