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