From 4e89ee9503a83c3f2a0a8b65b045daf5ebe59eb0 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Wed, 30 Dec 2020 18:35:31 +0100 Subject: [PATCH] Disable caching --- .github/workflows/natives.yaml | 31 ++++++++++++++++--------------- .github/workflows/tdapi.yaml | 31 ++++++++++++++++--------------- 2 files changed, 32 insertions(+), 30 deletions(-) diff --git a/.github/workflows/natives.yaml b/.github/workflows/natives.yaml index 925f202..a74f3c6 100644 --- a/.github/workflows/natives.yaml +++ b/.github/workflows/natives.yaml @@ -38,21 +38,22 @@ jobs: - uses: actions/checkout@v2 with: submodules: "recursive" - - name: Setup ccache variables - shell: bash - run: | - ARCH=${{ matrix.arch }} - SAFE_ARCH=$(echo $ARCH | sed 's/\//\-/g') - echo "CCACHE_SAFE_ARCH=$SAFE_ARCH" >> $GITHUB_ENV - - name: Cache ccache - if: runner.os == 'Linux' - id: cache-ccache - uses: actions/cache@v2 - with: - path: ~/.ccache - key: ${{ runner.os }}-${{ env.CCACHE_SAFE_ARCH }}-ccache-all - restore-keys: | - ${{ runner.os }}-${{ env.CCACHE_SAFE_ARCH }}-ccache- +# Caching causes strange behaviours. Disabled. +# - name: Setup ccache variables +# shell: bash +# run: | +# ARCH=${{ matrix.arch }} +# SAFE_ARCH=$(echo $ARCH | sed 's/\//\-/g') +# echo "CCACHE_SAFE_ARCH=$SAFE_ARCH" >> $GITHUB_ENV +# - name: Cache ccache +# if: runner.os == 'Linux' +# id: cache-ccache +# uses: actions/cache@v2 +# with: +# path: ~/.ccache +# key: ${{ runner.os }}-${{ env.CCACHE_SAFE_ARCH }}-ccache-all +# restore-keys: | +# ${{ runner.os }}-${{ env.CCACHE_SAFE_ARCH }}-ccache- - name: Setup Java (Snapshot) if: github.ref != 'refs/heads/master' uses: actions/setup-java@v1 diff --git a/.github/workflows/tdapi.yaml b/.github/workflows/tdapi.yaml index faae60b..a1e9ef1 100644 --- a/.github/workflows/tdapi.yaml +++ b/.github/workflows/tdapi.yaml @@ -24,21 +24,22 @@ jobs: - uses: actions/checkout@v2 with: submodules: "recursive" - - name: Setup ccache variables - shell: bash - run: | - ARCH=${{ matrix.arch }} - SAFE_ARCH=$(echo $ARCH | sed 's/\//\-/g') - echo "CCACHE_SAFE_ARCH=$SAFE_ARCH" >> $GITHUB_ENV - - name: Cache ccache - if: runner.os == 'Linux' - id: cache-ccache - uses: actions/cache@v2 - with: - path: ~/.ccache - key: ${{ runner.os }}-${{ env.CCACHE_SAFE_ARCH }}-ccache-all - restore-keys: | - ${{ runner.os }}-${{ env.CCACHE_SAFE_ARCH }}-ccache- +# Caching causes strange behaviours. Disabled. +# - name: Setup ccache variables +# shell: bash +# run: | +# ARCH=${{ matrix.arch }} +# SAFE_ARCH=$(echo $ARCH | sed 's/\//\-/g') +# echo "CCACHE_SAFE_ARCH=$SAFE_ARCH" >> $GITHUB_ENV +# - name: Cache ccache +# if: runner.os == 'Linux' +# id: cache-ccache +# uses: actions/cache@v2 +# with: +# path: ~/.ccache +# key: ${{ runner.os }}-${{ env.CCACHE_SAFE_ARCH }}-ccache-all +# restore-keys: | +# ${{ runner.os }}-${{ env.CCACHE_SAFE_ARCH }}-ccache- - name: Setup Java (Snapshot) if: github.ref != 'refs/heads/master' uses: actions/setup-java@v1