Fix rust action
This commit is contained in:
parent
b3a106a4e6
commit
016d3b618f
6
.github/workflows/cli-build.yml
vendored
6
.github/workflows/cli-build.yml
vendored
@ -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
|
||||
5
.github/workflows/lib-build.yml
vendored
5
.github/workflows/lib-build.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user