From 022177a8be4ef617485f5ca01fb2e3f2a0851492 Mon Sep 17 00:00:00 2001 From: eduponz Date: Tue, 11 Jun 2024 11:40:22 +0200 Subject: [PATCH] Refs #21168: Use token for ccache action Signed-off-by: eduponz --- .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 bc3ba7612af..5e7ffc53690 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 5ca71362e78..93c9886dd59 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 22294287af9..b4e16b91bd1 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 6a494d10a47..0c1c44024cb 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: |