diff --git a/build-gradle/action.yml b/build-gradle/action.yml index 958d9676..56f46bcc 100644 --- a/build-gradle/action.yml +++ b/build-gradle/action.yml @@ -47,6 +47,9 @@ outputs: runs: using: composite steps: + - name: Get build number + uses: SonarSource/ci-github-actions/get-build-number@master + id: build-number - name: Set build parameters shell: bash env: diff --git a/build-maven/action.yml b/build-maven/action.yml index fac93ff0..26626d43 100644 --- a/build-maven/action.yml +++ b/build-maven/action.yml @@ -39,6 +39,9 @@ inputs: runs: using: composite steps: + - name: Get build number + uses: SonarSource/ci-github-actions/get-build-number@master + id: build-number - name: Set build parameters shell: bash env: diff --git a/build-npm/action.yml b/build-npm/action.yml index 2a0dc3d1..d0f88d65 100644 --- a/build-npm/action.yml +++ b/build-npm/action.yml @@ -40,9 +40,13 @@ outputs: description: The JFrog build info UI URL value: ${{ steps.build.outputs.BUILD_INFO_URL }} + runs: using: composite steps: + - name: Get build number + uses: SonarSource/ci-github-actions/get-build-number@master + id: build-number - name: Set build parameters shell: bash env: diff --git a/build-poetry/action.yml b/build-poetry/action.yml index d26c8de6..9368322d 100644 --- a/build-poetry/action.yml +++ b/build-poetry/action.yml @@ -30,6 +30,9 @@ inputs: runs: using: composite steps: + - name: Get build number + uses: SonarSource/ci-github-actions/get-build-number@master + id: build-number - name: Set build parameters shell: bash env: @@ -41,10 +44,6 @@ runs: echo "ARTIFACTORY_READER_ROLE=${ARTIFACTORY_READER_ROLE}" >> "$GITHUB_ENV" echo "ARTIFACTORY_DEPLOYER_ROLE=${ARTIFACTORY_DEPLOYER_ROLE}" >> "$GITHUB_ENV" cp ${GITHUB_ACTION_PATH}/mise.local.toml mise.local.toml - # mkdir .actions/ - # ln -s "${GITHUB_ACTION_PATH}/../get-build-number" .actions/get-build-number - # - uses: ./.actions/get-build-number - # id: build-number - name: Cache local Poetry cache uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 with: diff --git a/build-yarn/action.yml b/build-yarn/action.yml index ea7eefe6..b4520688 100644 --- a/build-yarn/action.yml +++ b/build-yarn/action.yml @@ -43,6 +43,9 @@ outputs: runs: using: composite steps: + - name: Get build number + uses: SonarSource/ci-github-actions/get-build-number@master + id: build-number - name: Set build parameters shell: bash env: