Fix rust action

This commit is contained in:
Jai A 2023-03-30 14:05:11 -07:00
parent b3a106a4e6
commit 016d3b618f
No known key found for this signature in database
GPG Key ID: 9A9F9B7250E9883C
2 changed files with 8 additions and 3 deletions

View File

@ -9,13 +9,16 @@ env:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./theseus_cli
steps:
- uses: actions/checkout@v2
- name: Get build cache
id: cache-build
uses: actions/cache@v2
with:
path: target/**
path: ../target/**
key: ${{ runner.os }}-build-cache
- name: Install toolchain
uses: actions-rs/toolchain@v1
@ -23,6 +26,5 @@ jobs:
toolchain: stable
- uses: actions-rs/cargo@v1
name: Build program
working-directory: ./theseus_cli
with:
command: build

View File

@ -9,13 +9,16 @@ env:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./theseus
steps:
- uses: actions/checkout@v2
- name: Get build cache
id: cache-build
uses: actions/cache@v2
with:
path: target/**
path: ../target/**
key: ${{ runner.os }}-build-cache
- name: Install toolchain
uses: actions-rs/toolchain@v1