Skip to content

Commit

Permalink
add rust cache for faster build time
Browse files Browse the repository at this point in the history
  • Loading branch information
odyslam committed Sep 29, 2021
1 parent 2078aa7 commit d544214
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ jobs:
with:
toolchain: stable
ovverride: true
- uses: Swatinem/rust-cache@v1
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Archive production artifacts
- name: Upload production artifacts
uses: actions/upload-artifact@v2
with:
name: target-${{ matrix.os }}
Expand Down Expand Up @@ -129,12 +130,12 @@ jobs:
sudo reprepro -b /var/repositories includedeb ${codename} ${deb}
rm /tmp/*.deb
rm /tmp/*.rpm
# - name: Bump Homebrew formula
# runs-on: ubuntu-latest
# steps:
# uses: mislav/[email protected]
# with:
# formula-name: dapptools-rs
# env:
# COMMITTER_TOKEN: ${{ secrets.G_TOKEN }}
# - name: Bump Homebrew formula
# runs-on: ubuntu-latest
# steps:
# uses: mislav/[email protected]
# with:
# formula-name: dapptools-rs
# env:
# COMMITTER_TOKEN: ${{ secrets.G_TOKEN }}

0 comments on commit d544214

Please sign in to comment.