feat: CI: store build cache

This commit is contained in:
Aravinth Manivannan 2022-05-25 12:53:38 +05:30
parent c637be4499
commit 99d14764ab
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -48,6 +48,10 @@ jobs:
# target # target
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} # key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Cache
uses: Swatinem/rust-cache@v1
- 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'
uses: docker/login-action@v1 uses: docker/login-action@v1