Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ repos:
hooks:
- id: markdownlint
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 731b86757c909f5eb4753ce1e743c64bd18f5ea8 # 37.418.1
rev: 99eaa5b893df4f917fe21b5705cc42f28cb3d842 # 43.76.3
hooks:
- id: renovate-config-validator
- repo: https://github.com/rhysd/actionlint
Expand Down
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1227,13 +1227,15 @@ promote:

### Inputs

| Input | Description | Default |
|---------------------------|---------------------------------------------------------------------------------------------------------------------------|---------------------|
| `promote-pull-request` | Whether to promote pull request artifacts. Requires `deploy-pull-request` input to be set to `true` in the build action | `false` |
| `multi-repo` | If true, promotes to public and private repositories. For projects with both public and private artifacts | (optional) |
| `artifactory-deploy-repo` | Repository to deploy to. If not set, it will be retrieved from the build info | (optional) |
| `artifactory-target-repo` | Target repository for the promotion. If not set, it will be determined based on the branch type and the deploy repository | (optional) |
| `build-name` | Name of the JFrog build to promote. | `<Repository name>` |
| Input | Description | Default |
|---------------------------|---------------------------------------------------------------------------------------------------------------------------|--------------------------|
| `repox-url` | URL for Repox | `https://repox.jfrog.io` |
| `repox-artifactory-url` | URL for Repox Artifactory API (overrides repox-url/artifactory if provided) | (optional) |
| `promote-pull-request` | Whether to promote pull request artifacts. Requires `deploy-pull-request` input to be set to `true` in the build action | `false` |
| `multi-repo` | If true, promotes to public and private repositories. For projects with both public and private artifacts | (optional) |
| `artifactory-deploy-repo` | Repository to deploy to. If not set, it will be retrieved from the build info | (optional) |
| `artifactory-target-repo` | Target repository for the promotion. If not set, it will be determined based on the branch type and the deploy repository | (optional) |
| `build-name` | Name of the JFrog build to promote. | `<Repository name>` |

### Outputs

Expand Down
5 changes: 3 additions & 2 deletions build-gradle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ runs:
(github.event.repository.visibility == 'public' && 'public-deployer' || 'qa-deployer') }}
run: |
echo "ARTIFACTORY_DEPLOYER_ROLE=${ARTIFACTORY_DEPLOYER_ROLE}" >> "$GITHUB_ENV"

- uses: SonarSource/vault-action-wrapper@3d5c87cb535e4a2c7a09adcbcfdefa751854dee3 # 3.3.0
id: secrets
with:
Expand Down Expand Up @@ -199,7 +200,7 @@ runs:
shell: bash
run: |
build_name="${GITHUB_REPOSITORY#*/}"
echo "## 🏗 Gradle Build Summary (\`${GITHUB_JOB}\`)" >> $GITHUB_STEP_SUMMARY
echo "## 🏗 Gradle Build Summary (\`${GITHUB_JOB}\`)" >> $GITHUB_STEP_SUMMARY
if [[ "${{ steps.build.conclusion }}" == "success" ]]; then
echo "✅ **Build SUCCESS**" >> $GITHUB_STEP_SUMMARY
else
Expand All @@ -215,5 +216,5 @@ runs:
if [[ "${{ steps.build.outputs.deployed }}" == true ]]; then
echo "### 🚀 Deployment" >> $GITHUB_STEP_SUMMARY
ARTIFACTORY_BROWSE_URL="${ARTIFACTORY_URL%/*}/ui/builds/$build_name/$BUILD_NUMBER"
echo "🔗 **[Browse artifacts in Artifactory](${ARTIFACTORY_BROWSE_URL})**" >> $GITHUB_STEP_SUMMARY
echo "🐸 [Browse build \`${build_name}:${BUILD_NUMBER}\` in Artifactory](${ARTIFACTORY_BROWSE_URL})" >> $GITHUB_STEP_SUMMARY
fi
10 changes: 8 additions & 2 deletions build-maven/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ runs:
ARTIFACTORY_PRIVATE_DEPLOY_REPO: ${{ steps.params.outputs.ARTIFACTORY_PRIVATE_DEPLOY_REPO }}
ARTIFACTORY_PRIVATE_DEPLOY_ACCESS_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).ARTIFACTORY_PRIVATE_DEPLOY_ACCESS_TOKEN }}
INSTALLED_ARTIFACTS: ${{ steps.build.outputs.installed-artifacts }}
JFROG_CLI_COMMAND_SUMMARY_OUTPUT_DIR: ${{ runner.temp }}/jfrog-summary
run: $ACTION_PATH_BUILD_MAVEN/deploy-artifacts.sh

- name: Cleanup Maven repository before caching
Expand All @@ -235,9 +236,13 @@ runs:
- name: Generate workflow summary
if: always() && inputs.generate-summary != 'false'
shell: bash
env:
ARTIFACTORY_URL: ${{ inputs.repox-artifactory-url != '' && inputs.repox-artifactory-url ||
format('{0}/artifactory', inputs.repox-url) }}
JFROG_CLI_COMMAND_SUMMARY_OUTPUT_DIR: ${{ runner.temp }}/jfrog-summary
run: |
build_name="${GITHUB_REPOSITORY#*/}"
echo "## 🏗 Maven Build Summary (\`${GITHUB_JOB}\`)" >> $GITHUB_STEP_SUMMARY
echo "## 🏗 Maven Build Summary (\`${GITHUB_JOB}\`)" >> $GITHUB_STEP_SUMMARY
if [[ "${{ steps.build.conclusion }}" == "success" ]]; then
echo "✅ **Build SUCCESS**" >> $GITHUB_STEP_SUMMARY
else
Expand All @@ -253,5 +258,6 @@ runs:
if [[ "${{ steps.build.outputs.deployed }}" == true ]]; then
echo "### 🚀 Deployment" >> $GITHUB_STEP_SUMMARY
ARTIFACTORY_BROWSE_URL="${ARTIFACTORY_URL%/*}/ui/builds/$build_name/$BUILD_NUMBER"
echo "🔗 **[Browse artifacts in Artifactory](${ARTIFACTORY_BROWSE_URL})**" >> $GITHUB_STEP_SUMMARY
echo "🐸 [Browse build \`${build_name}:${BUILD_NUMBER}\` in Artifactory](${ARTIFACTORY_BROWSE_URL})" >> $GITHUB_STEP_SUMMARY
"$ACTION_PATH_BUILD_MAVEN/../shared/generate-jfrog-summary.sh" deploy
fi
2 changes: 1 addition & 1 deletion build-maven/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# - SQC_EU_URL: URL of SonarQube server for sqc-eu platform
# - SQC_EU_TOKEN: Access token to send analysis reports to SonarQube for sqc-eu platform
# - RUN_SHADOW_SCANS: If true, run sonar scanner on all 3 platforms. If false, run on the platform provided by SONAR_PLATFORM.
# - ARTIFACTORY_URL: Artifactory repository URL
# - ARTIFACTORY_URL: URL to Artifactory repository
# - ARTIFACTORY_ACCESS_TOKEN: Access token to read Repox repositories
# - ARTIFACTORY_DEPLOY_REPO: Deployment repository name. Required by maven-enforcer-plugin in SonarSource parent POM.
# - ARTIFACTORY_DEPLOY_USERNAME: Username used by artifactory-maven-plugin
Expand Down
11 changes: 6 additions & 5 deletions build-maven/deploy-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,23 @@ build_name="${GITHUB_REPOSITORY#*/}"
pushd "$MAVEN_CONFIG/repository"

echo "::group::Configure JFrog deployment"
jfrog config add deploy --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_DEPLOY_ACCESS_TOKEN"
jfrog config use deploy
jf config remove deploy > /dev/null 2>&1 || true # Ignore inexistent configuration
jf config add deploy --url "${ARTIFACTORY_URL%/artifactory*}" --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_DEPLOY_ACCESS_TOKEN"
jf config use deploy
echo "::endgroup::"

echo "::group::Deploy public artifacts"
echo "Deploying public artifacts..."
for artifact in "${public_artifacts[@]}"; do
jfrog rt u --build-name "$build_name" --build-number "$BUILD_NUMBER" "$artifact" "${ARTIFACTORY_DEPLOY_REPO}"
jf rt u --build-name "$build_name" --build-number "$BUILD_NUMBER" "$artifact" "${ARTIFACTORY_DEPLOY_REPO}"
done
echo "::endgroup::"

echo "::group::Deploy private artifacts"
echo "Deploying private artifacts..."
jfrog config edit deploy --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_PRIVATE_DEPLOY_ACCESS_TOKEN"
jf config edit deploy --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_PRIVATE_DEPLOY_ACCESS_TOKEN"
for artifact in "${private_artifacts[@]}"; do
jfrog rt u --build-name "$build_name" --build-number "$BUILD_NUMBER" "$artifact" "${ARTIFACTORY_PRIVATE_DEPLOY_REPO}"
jf rt u --build-name "$build_name" --build-number "$BUILD_NUMBER" "$artifact" "${ARTIFACTORY_PRIVATE_DEPLOY_REPO}"
done
echo "::endgroup::"

Expand Down
10 changes: 7 additions & 3 deletions build-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ runs:
echo "ARTIFACTORY_DEPLOYER_ROLE=${ARTIFACTORY_DEPLOYER_ROLE}" >> "$GITHUB_ENV"
cp "$ACTION_PATH_BUILD_NPM/mise.local.toml" mise.local.toml
if [[ "$CACHE_NPM" != "true" ]]; then
echo "::warning::The \`cache-npm\` input is deprecated and will be removed in future releases. " \
echo "::warning::The \`cache-npm\` input is deprecated and will be removed in future releases." \
"Use \`disable-caching\` instead." >&2
fi

Expand Down Expand Up @@ -168,6 +168,8 @@ runs:
SQC_EU_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).SQC_EU_TOKEN }}
SQC_US_URL: ${{ fromJSON(steps.secrets.outputs.vault).SQC_US_URL }}
SQC_US_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).SQC_US_TOKEN }}
JFROG_CLI_COMMAND_SUMMARY_OUTPUT_DIR: ${{ runner.temp }}/jfrog-summary
# JFROG_CLI_GITHUB_TOKEN:
working-directory: ${{ inputs.working-directory }}
run: $ACTION_PATH_BUILD_NPM/build.sh

Expand Down Expand Up @@ -197,9 +199,10 @@ runs:
env:
ARTIFACTORY_URL: ${{ inputs.repox-artifactory-url != '' && inputs.repox-artifactory-url ||
format('{0}/artifactory', inputs.repox-url) }}
JFROG_CLI_COMMAND_SUMMARY_OUTPUT_DIR: ${{ runner.temp }}/jfrog-summary
run: |
build_name="${GITHUB_REPOSITORY#*/}"
echo "## 📦 NPM Build Summary (\`${GITHUB_JOB}\`)" >> $GITHUB_STEP_SUMMARY
echo "## 🏗 NPM Build Summary (\`${GITHUB_JOB}\`)" >> $GITHUB_STEP_SUMMARY
if [[ "${{ steps.build.conclusion }}" == "success" ]]; then
echo "✅ **Build SUCCESS**" >> $GITHUB_STEP_SUMMARY
else
Expand All @@ -215,5 +218,6 @@ runs:
if [[ "${{ steps.build.outputs.deployed }}" == true ]]; then
echo "### 🚀 Deployment" >> $GITHUB_STEP_SUMMARY
ARTIFACTORY_BROWSE_URL="${ARTIFACTORY_URL%/*}/ui/builds/$build_name/$BUILD_NUMBER"
echo "🔗 **[Browse artifacts in Artifactory](${ARTIFACTORY_BROWSE_URL})**" >> $GITHUB_STEP_SUMMARY
echo "🐸 [Browse build \`${build_name}:${BUILD_NUMBER}\` in Artifactory](${ARTIFACTORY_BROWSE_URL})" >> $GITHUB_STEP_SUMMARY
"$ACTION_PATH_BUILD_NPM/../shared/generate-jfrog-summary.sh" repox
fi
3 changes: 2 additions & 1 deletion build-npm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ sonar_scanner_implementation() {
jfrog_npm_publish() {
echo "Configuring JFrog and NPM repositories..."
jf config remove repox > /dev/null 2>&1 || true # Ignore inexistent configuration
jf config add repox --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_DEPLOY_ACCESS_TOKEN"
jf config add repox --url "${ARTIFACTORY_URL%/artifactory*}" --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_DEPLOY_ACCESS_TOKEN"
jf config use repox
jf npm-config --repo-resolve "npm" --repo-deploy "$ARTIFACTORY_DEPLOY_REPO"

export PROJECT="${GITHUB_REPOSITORY#*/}"
Expand Down
6 changes: 5 additions & 1 deletion build-npm/mise.local.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[tools]
jfrog-cli = "2.77.0"
jfrog-cli = "2.96.0"
jq = "1.8.1"

[env]
JFROG_CLI_AVOID_NEW_VERSION_WARNING = "true"
JFROG_CLI_ENV_EXCLUDE = "*password*;*secret*;*key*;*token*;*auth*;*credential*"
8 changes: 6 additions & 2 deletions build-poetry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ runs:
echo "ARTIFACTORY_READER_ROLE=${ARTIFACTORY_READER_ROLE}" >> "$GITHUB_ENV"
echo "ARTIFACTORY_DEPLOYER_ROLE=${ARTIFACTORY_DEPLOYER_ROLE}" >> "$GITHUB_ENV"
cp "$ACTION_PATH_BUILD_POETRY/mise.local.toml" mise.local.toml

- uses: ./.actions/get-build-number
id: get_build_number
with:
Expand Down Expand Up @@ -164,6 +165,7 @@ runs:
SQC_US_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).SQC_US_TOKEN }}
SONAR_PLATFORM: ${{ inputs.sonar-platform }}
RUN_SHADOW_SCANS: ${{ inputs.run-shadow-scans }}
JFROG_CLI_COMMAND_SUMMARY_OUTPUT_DIR: ${{ runner.temp }}/jfrog-summary
run: |
cd "${{ inputs.working-directory }}"
"$ACTION_PATH_BUILD_POETRY/build.sh"
Expand All @@ -186,9 +188,10 @@ runs:
env:
ARTIFACTORY_URL: ${{ inputs.repox-artifactory-url != '' && inputs.repox-artifactory-url ||
format('{0}/artifactory', inputs.repox-url) }}
JFROG_CLI_COMMAND_SUMMARY_OUTPUT_DIR: ${{ runner.temp }}/jfrog-summary
run: |
build_name="${GITHUB_REPOSITORY#*/}"
echo "## 📦 Poetry Build Summary (\`${GITHUB_JOB}\`)" >> $GITHUB_STEP_SUMMARY
echo "## 🏗 Poetry Build Summary (\`${GITHUB_JOB}\`)" >> $GITHUB_STEP_SUMMARY
if [[ "${{ steps.build.conclusion }}" == "success" ]]; then
echo "✅ **Build SUCCESS**" >> $GITHUB_STEP_SUMMARY
else
Expand All @@ -204,5 +207,6 @@ runs:
if [[ "${{ steps.build.outputs.deployed }}" == true ]]; then
echo "### 🚀 Deployment" >> $GITHUB_STEP_SUMMARY
ARTIFACTORY_BROWSE_URL="${ARTIFACTORY_URL%/*}/ui/builds/$build_name/$BUILD_NUMBER"
echo "🔗 **[Browse artifacts in Artifactory](${ARTIFACTORY_BROWSE_URL})**" >> $GITHUB_STEP_SUMMARY
echo "🐸 [Browse build \`${build_name}:${BUILD_NUMBER}\` in Artifactory](${ARTIFACTORY_BROWSE_URL})" >> $GITHUB_STEP_SUMMARY
"$ACTION_PATH_BUILD_POETRY/../shared/generate-jfrog-summary.sh" repox
fi
9 changes: 6 additions & 3 deletions build-poetry/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -263,14 +263,17 @@ get_build_config() {
}

jfrog_poetry_install() {
jf config add repox --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_ACCESS_TOKEN"
jf config remove repox > /dev/null 2>&1 || true # Ignore inexistent configuration
jf config add repox --url "${ARTIFACTORY_URL%/artifactory*}" --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_ACCESS_TOKEN"
jf config use repox
jf poetry-config --server-id-resolve repox --repo-resolve "$ARTIFACTORY_PYPI_REPO"
jf poetry install --build-name="$PROJECT" --build-number="$BUILD_NUMBER"
}

jfrog_poetry_publish() {
jf config remove repox
jf config add repox --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_DEPLOY_ACCESS_TOKEN"
jf config remove repox > /dev/null 2>&1 || true # Ignore inexistent configuration
jf config add repox --url "${ARTIFACTORY_URL%/artifactory*}" --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_DEPLOY_ACCESS_TOKEN"
jf config use repox
project_name=$(poetry version | awk '{print $1}')
pushd dist
jf rt upload ./ "$ARTIFACTORY_DEPLOY_REPO/$project_name/$PROJECT_VERSION/" --module="$project_name:$PROJECT_VERSION" \
Expand Down
6 changes: 5 additions & 1 deletion build-poetry/mise.local.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[tools]
jfrog-cli = "2.77.0"
jfrog-cli = "2.96.0"

[env]
JFROG_CLI_AVOID_NEW_VERSION_WARNING = "true"
JFROG_CLI_ENV_EXCLUDE = "*password*;*secret*;*key*;*token*;*auth*;*credential*"
9 changes: 6 additions & 3 deletions build-yarn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ runs:
echo "ARTIFACTORY_DEPLOYER_ROLE=${ARTIFACTORY_DEPLOYER_ROLE}" >> "$GITHUB_ENV"
cp "$ACTION_PATH_BUILD_YARN/mise.local.toml" mise.local.toml
if [[ "$CACHE_YARN" != "true" ]]; then
echo "::warning::The \`cache-yarn\` input is deprecated and will be removed in future releases. " \
echo "::warning::The \`cache-yarn\` input is deprecated and will be removed in future releases." \
"Use \`disable-caching\` instead." >&2
fi

Expand Down Expand Up @@ -175,6 +175,7 @@ runs:
SQC_US_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).SQC_US_TOKEN }}
SONAR_PLATFORM: ${{ inputs.sonar-platform }}
RUN_SHADOW_SCANS: ${{ inputs.run-shadow-scans }}
JFROG_CLI_COMMAND_SUMMARY_OUTPUT_DIR: ${{ runner.temp }}/jfrog-summary
working-directory: ${{ inputs.working-directory }}
run: $ACTION_PATH_BUILD_YARN/build.sh

Expand All @@ -196,9 +197,10 @@ runs:
env:
ARTIFACTORY_URL: ${{ inputs.repox-artifactory-url != '' && inputs.repox-artifactory-url ||
format('{0}/artifactory', inputs.repox-url) }}
JFROG_CLI_COMMAND_SUMMARY_OUTPUT_DIR: ${{ runner.temp }}/jfrog-summary
run: |
build_name="${GITHUB_REPOSITORY#*/}"
echo "## 📦 Yarn Build Summary (\`${GITHUB_JOB}\`)" >> $GITHUB_STEP_SUMMARY
echo "## 🏗 Yarn Build Summary (\`${GITHUB_JOB}\`)" >> $GITHUB_STEP_SUMMARY
if [[ "${{ steps.build.conclusion }}" == "success" ]]; then
echo "✅ **Build SUCCESS**" >> $GITHUB_STEP_SUMMARY
else
Expand All @@ -214,5 +216,6 @@ runs:
if [[ "${{ steps.build.outputs.deployed }}" == true ]]; then
echo "### 🚀 Deployment" >> $GITHUB_STEP_SUMMARY
ARTIFACTORY_BROWSE_URL="${ARTIFACTORY_URL%/*}/ui/builds/$build_name/$BUILD_NUMBER"
echo "🔗 **[Browse artifacts in Artifactory](${ARTIFACTORY_BROWSE_URL})**" >> $GITHUB_STEP_SUMMARY
echo "🐸 [Browse build \`${build_name}:${BUILD_NUMBER}\` in Artifactory](${ARTIFACTORY_BROWSE_URL})" >> $GITHUB_STEP_SUMMARY
"$ACTION_PATH_BUILD_YARN/../shared/generate-jfrog-summary.sh" repox
fi
9 changes: 5 additions & 4 deletions build-yarn/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ npmRegistries:
npmAlwaysAuth: true
npmAuthToken: "${ARTIFACTORY_ACCESS_TOKEN}"
EOF
jf config remove repox > /dev/null 2>&1 || true # Do not log if the repox config were not present
jf config add repox --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_ACCESS_TOKEN"
jf config remove repox > /dev/null 2>&1 || true # Ignore inexistent configuration
jf config add repox --url "${ARTIFACTORY_URL%/artifactory*}" --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_ACCESS_TOKEN"
jf config use repox
jf npm-config --repo-resolve "npm"
}
Expand Down Expand Up @@ -172,8 +172,9 @@ sonar_scanner_implementation() {

jfrog_yarn_publish() {
echo "::debug::Configuring JFrog and NPM repositories..."
jf config remove repox > /dev/null 2>&1 || true # Do not log if the repox config were not present
jf config add repox --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_DEPLOY_ACCESS_TOKEN"
jf config remove repox > /dev/null 2>&1 || true # Ignore inexistent configuration
jf config add repox --url "${ARTIFACTORY_URL%/artifactory*}" --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_DEPLOY_ACCESS_TOKEN"
jf config use repox
jf npm-config --repo-resolve "npm" --repo-deploy "$ARTIFACTORY_DEPLOY_REPO"

# Create a local tarball and preserve it for attestation
Expand Down
6 changes: 5 additions & 1 deletion build-yarn/mise.local.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[tools]
jfrog-cli = "2.77.0"
jfrog-cli = "2.96.0"
jq = "1.8.1"

[env]
JFROG_CLI_AVOID_NEW_VERSION_WARNING = "true"
JFROG_CLI_ENV_EXCLUDE = "*password*;*secret*;*key*;*token*;*auth*;*credential*"
2 changes: 1 addition & 1 deletion cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runs:
- id: warning
shell: bash
run: |
echo "::warning:: This action is deprecated and will be removed in future releases. " \
echo "::warning:: This action is deprecated and will be removed in future releases." \
"Please migrate to using the SonarSource/gh-action_cache action directly." >&2

- uses: SonarSource/gh-action_cache@957cb1f6f70956976b834546bf09839080b5bb00 # v1.2.3
Expand Down
2 changes: 1 addition & 1 deletion config-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ runs:

echo "ARTIFACTORY_READER_ROLE=${ARTIFACTORY_READER_ROLE}" >> "$GITHUB_ENV"
if [[ "$CACHE_NPM" != "true" ]]; then
echo "::warning::The \`cache-npm\` input is deprecated and will be removed in future releases. " \
echo "::warning::The \`cache-npm\` input is deprecated and will be removed in future releases." \
"Use \`disable-caching\` instead." >&2
fi

Expand Down
6 changes: 5 additions & 1 deletion config-npm/mise.local.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[tools]
jfrog-cli = "2.77.0"
jfrog-cli = "2.96.0"
jq = "1.8.1"

[env]
JFROG_CLI_AVOID_NEW_VERSION_WARNING = "true"
JFROG_CLI_ENV_EXCLUDE = "*password*;*secret*;*key*;*token*;*auth*;*credential*"
Loading
Loading