hotfix: CI: disable build cache

This commit is contained in:
Aravinth Manivannan 2022-05-18 19:03:30 +05:30
parent 5add143318
commit 9cf1d9df46
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
2 changed files with 18 additions and 17 deletions

View file

@ -35,14 +35,14 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: ⚡ Cache # - name: ⚡ Cache
uses: actions/cache@v3 # uses: actions/cache@v3
with: # with:
path: | # path: |
~/.cargo/registry # ~/.cargo/registry
~/.cargo/git # ~/.cargo/git
target # target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} # key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install ${{ matrix.version }} - name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1

View file

@ -37,15 +37,16 @@ jobs:
# #
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: ⚡ Cache
uses: actions/cache@v3 # - name: ⚡ Cache
with: # uses: actions/cache@v3
path: | # with:
/var/lib/docker # path: |
~/.cargo/registry # /var/lib/docker
~/.cargo/git # ~/.cargo/registry
target # ~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} # target
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
# - name: Login to DockerHub # - name: Login to DockerHub
# if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'forgeflux-org/starchart' # if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'forgeflux-org/starchart'