We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcfb1f1 commit d1dc75dCopy full SHA for d1dc75d
build-gradle/action.yml
@@ -120,7 +120,7 @@ runs:
120
121
- name: Restore Gradle Cache
122
if: ${{ inputs.disable-caching != 'true' }}
123
- uses: SonarSource/gh-action_cache@v1
+ uses: SonarSource/ci-github-actions/cache@v1
124
id: gradle-cache-restore
125
with:
126
path: |
promote/promote.sh
@@ -44,7 +44,7 @@ MULTI_REPO_SRC_PRIVATE=sonarsource-private-qa
44
MULTI_REPO_SRC_PUBLIC=sonarsource-public-qa
45
46
set_build_env() {
47
- DEFAULT_BRANCH=${DEFAULT_BRANCH:=$(gh repo view --json defaultBranchRef --jq ".defaultBranchRef.name")}
+ : "${DEFAULT_BRANCH:=$(gh repo view --json defaultBranchRef --jq ".defaultBranchRef.name")}"
48
export DEFAULT_BRANCH
49
}
50
0 commit comments