From 5dd959a7c4028d3c53475ba1d6c5926fb6d11aea Mon Sep 17 00:00:00 2001 From: Eduardo Ponz Segrelles Date: Wed, 12 Jun 2024 07:03:57 +0200 Subject: [PATCH] Use token for ccache action (#4931) Signed-off-by: eduponz (cherry picked from commit 91d14324250e00e36557a8c42b51f3a969dc4ab0) --- .github/workflows/documentation-tests.yaml | 2 ++ .github/workflows/reusable-mac-ci.yml | 2 ++ .github/workflows/reusable-sanitizers-ci.yml | 8 ++++++++ .github/workflows/reusable-ubuntu-ci.yml | 2 ++ 4 files changed, 14 insertions(+) diff --git a/.github/workflows/documentation-tests.yaml b/.github/workflows/documentation-tests.yaml index 985f1398e30..dbb12f71578 100644 --- a/.github/workflows/documentation-tests.yaml +++ b/.github/workflows/documentation-tests.yaml @@ -54,6 +54,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Install apt dependencies uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@v0 diff --git a/.github/workflows/reusable-mac-ci.yml b/.github/workflows/reusable-mac-ci.yml index a31ef4a38af..2177e4b2079 100644 --- a/.github/workflows/reusable-mac-ci.yml +++ b/.github/workflows/reusable-mac-ci.yml @@ -85,6 +85,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Set up hosts file for DNS testing run: | diff --git a/.github/workflows/reusable-sanitizers-ci.yml b/.github/workflows/reusable-sanitizers-ci.yml index 633ad3ea16a..883a94143ce 100644 --- a/.github/workflows/reusable-sanitizers-ci.yml +++ b/.github/workflows/reusable-sanitizers-ci.yml @@ -94,6 +94,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Fetch Fast DDS dependencies uses: eProsima/eProsima-CI/multiplatform/vcs_import@v0 @@ -174,6 +176,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Show .meta file id: show_meta @@ -257,6 +261,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Get Discovery Server branch id: get_discovery_server_branch @@ -367,6 +373,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Fetch Fast DDS dependencies uses: eProsima/eProsima-CI/multiplatform/vcs_import@v0 diff --git a/.github/workflows/reusable-ubuntu-ci.yml b/.github/workflows/reusable-ubuntu-ci.yml index 664945a9095..49207f58f05 100644 --- a/.github/workflows/reusable-ubuntu-ci.yml +++ b/.github/workflows/reusable-ubuntu-ci.yml @@ -84,6 +84,8 @@ jobs: - name: Setup CCache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + with: + api_token: ${{ secrets.GITHUB_TOKEN }} - name: Set up hosts file for DNS testing run: |