This is an automated email from the ASF dual-hosted git repository.

btashton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 5e20ccd  CI: don't cache sources, use artifacts only
5e20ccd is described below

commit 5e20ccd36632fe5507f006a44360e654dddebb5d
Author: Matias N <[email protected]>
AuthorDate: Sat Sep 12 15:42:10 2020 -0300

    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 15713d0..f042624 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

Reply via email to