From 5e20ccd36632fe5507f006a44360e654dddebb5d Mon Sep 17 00:00:00 2001 From: Matias N Date: Sat, 12 Sep 2020 15:42:10 -0300 Subject: [PATCH] CI: don't cache sources, use artifacts only --- .github/workflows/build.yml | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 15713d02b..f04262435 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,13 +110,6 @@ jobs: name: source-bundle path: sources.tar.gz - - name: Cache Source - id: cache-source - uses: actions/cache@v1 - with: - path: sources - key: build-sources-${{ github.run_id }} - Linux: needs: Fetch-Source runs-on: ubuntu-latest @@ -128,23 +121,12 @@ jobs: boards: [arm-01, arm-02, arm-03, arm-04, arm-05, arm-06, arm-07, arm-08, arm-09, arm-10, arm-11, arm-12, arm-13, avr-mips-riscv-x86-xtensa, sim] steps: - - name: Fetch Cached Source - id: cache-source - uses: actions/cache@v1 - with: - path: sources-cache - key: build-sources-${{ github.run_id }} - - name: Prevent Updating Source Cache - if: steps.cache-source.outputs.cache-hit == 'true' - run: mv sources-cache sources - name: Download Source Artifact - if: steps.cache-source.outputs.cache-hit != 'true' uses: actions/download-artifact@v1 with: name: source-bundle path: ./ - name: Extract Source Artifact - if: steps.cache-source.outputs.cache-hit != 'true' run: tar -xf sources.tar.gz - name: Docker Login @@ -189,23 +171,12 @@ jobs: matrix: boards: [arm-12, avr-mips-riscv-x86-xtensa, sim] steps: - - name: Fetch Cached Source - id: cache-source - uses: actions/cache@v1 - with: - path: sources-cache - key: build-sources-${{ github.run_id }} - - name: Prevent Updating Source Cache - if: steps.cache-source.outputs.cache-hit == 'true' - run: mv sources-cache sources - name: Download Source Artifact - if: steps.cache-source.outputs.cache-hit != 'true' uses: actions/download-artifact@v1 with: name: source-bundle path: ./ - name: Extract Source Artifact - if: steps.cache-source.outputs.cache-hit != 'true' run: tar -xf sources.tar.gz - name: Restore Tools Cache