From 6992131f4f75f1f211ec875481867de35400d7de Mon Sep 17 00:00:00 2001 From: sonartech Date: Wed, 9 Oct 2024 11:26:43 +0000 Subject: [PATCH] chore: prepare 5.9.4 for future reference --- .github/workflows/javadoc-publication.yaml | 8 ++++---- .github/workflows/main.yaml | 4 ++-- .github/workflows/maven-central.yaml | 4 ++-- .github/workflows/npmjs.yaml | 2 +- .github/workflows/pypi.yaml | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/javadoc-publication.yaml b/.github/workflows/javadoc-publication.yaml index 0c8b3567..1dd2d048 100644 --- a/.github/workflows/javadoc-publication.yaml +++ b/.github/workflows/javadoc-publication.yaml @@ -67,7 +67,7 @@ jobs: with: jfrogAccessToken: ${{ fromJSON(steps.secrets.outputs.vault).artifactory_access_token }} - name: Download Artifacts - uses: SonarSource/gh-action_release/download-build@master + uses: SonarSource/gh-action_release/download-build@5.9.4 with: flat-download: true build-number: ${{ steps.get_version.outputs.build }} @@ -84,7 +84,7 @@ jobs: - name: List javadoc files run: ls "${{ steps.local_repo.outputs.dir }}/javadoc/${{ github.event.release.tag_name }}" - name: Publish javadoc files to S3 - uses: SonarSource/gh-action_release/aws-s3@master + uses: SonarSource/gh-action_release/aws-s3@5.9.4 with: command: cp flags: --recursive @@ -95,7 +95,7 @@ jobs: aws_session_token: ${{ fromJSON(steps.secrets.outputs.vault).javadoc_aws_security_token }} aws_region: eu-central-1 - name: Delete dir named latest in S3 - uses: SonarSource/gh-action_release/aws-s3@master + uses: SonarSource/gh-action_release/aws-s3@5.9.4 with: command: rm source: s3://javadocs-cdn-eu-central-1-prod/${{ inputs.javadocDestinationDirectory || github.event.repository.name }}/latest @@ -105,7 +105,7 @@ jobs: aws_region: eu-central-1 continue-on-error: true # the first time a project publish javadoc, there is no latest dir available - name: Upload to dir named latest in S3 - uses: SonarSource/gh-action_release/aws-s3@master + uses: SonarSource/gh-action_release/aws-s3@5.9.4 with: command: cp flags: --recursive diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index a2c8fbb7..a208ab0b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -130,7 +130,7 @@ jobs: repository: SonarSource/gh-action_release # This property is changed during the release process to reference the correct tag # During development change this to your branch name to run it in another repository - ref: ${{ github.ref }} + ref: 5.9.4 path: gh-action_release # Clone the calling repo for checking releasability prerequisites - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 @@ -336,7 +336,7 @@ jobs: repository: SonarSource/gh-action_release # This property is changed during the release process to reference the correct tag # During development change this to your branch name to run it in another repository - ref: ${{ github.ref }} + ref: 5.9.4 path: gh-action_release - name: Vault diff --git a/.github/workflows/maven-central.yaml b/.github/workflows/maven-central.yaml index 64dbcfae..f96a1b1e 100644 --- a/.github/workflows/maven-central.yaml +++ b/.github/workflows/maven-central.yaml @@ -58,7 +58,7 @@ jobs: with: jfrogAccessToken: ${{ fromJSON(steps.secrets.outputs.vault).artifactory_access_token }} - name: Download Artifacts - uses: SonarSource/gh-action_release/download-build@master + uses: SonarSource/gh-action_release/download-build@5.9.4 with: build-number: ${{ steps.get_version.outputs.build }} local-repo-dir: ${{ steps.local_repo.outputs.dir }} @@ -66,7 +66,7 @@ jobs: - name: Maven Central Sync id: maven-central-sync continue-on-error: true - uses: SonarSource/gh-action_release/maven-central-sync@master + uses: SonarSource/gh-action_release/maven-central-sync@5.9.4 with: local-repo-dir: ${{ steps.local_repo.outputs.dir }} env: diff --git a/.github/workflows/npmjs.yaml b/.github/workflows/npmjs.yaml index 1a1bef45..01a704d0 100644 --- a/.github/workflows/npmjs.yaml +++ b/.github/workflows/npmjs.yaml @@ -74,7 +74,7 @@ jobs: jfrogAccessToken: ${{ fromJSON(steps.secrets.outputs.vault).artifactory_access_token }} - name: Download Artifacts from JFrog - uses: SonarSource/gh-action_release/download-build@master + uses: SonarSource/gh-action_release/download-build@5.9.4 with: build-number: ${{ steps.get_version.outputs.build }} local-repo-dir: ${{ steps.local_repo.outputs.dir }} diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index e1e69ac1..4dce3f93 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -68,7 +68,7 @@ jobs: with: jfrogAccessToken: ${{ fromJSON(steps.secrets.outputs.vault).artifactory_access_token }} - name: Download Artifacts - uses: SonarSource/gh-action_release/download-build@master + uses: SonarSource/gh-action_release/download-build@5.9.4 with: build-number: ${{ steps.get_version.outputs.build }} local-repo-dir: ${{ steps.local_repo.outputs.dir }}