diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 8da5bee..c06d07d 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -39,22 +39,27 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Build container - run: docker build -t $imageName . - + - uses: actions/cache@v4 + with: + path: . + key: ${{ matrix.test.type }} + - name: Prepare working-directory: ./testdemos_files run: rsync -a deps/${{ matrix.test.type }}/* . + - name: Build container + run: docker build -t $imageName . + - name: Run test env: demo: ${{ matrix.test.file }} desc: ${{ matrix.test.desc }} run: | docker run \ - -t $imageName \ --env demo \ --env desc \ + -t $imageName \ ./runTest.sh build: