Merge pull request #35 from corwinkuiper/actions-target

Set one target dir
This commit is contained in:
Corwin 2021-05-30 20:18:18 +01:00 committed by GitHub
commit 5a6483548b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,8 @@ env:
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env:
CARGO_TARGET_DIR: ~/target
steps: steps:
- name: Install build tools - name: Install build tools
run: sudo apt-get update && sudo apt-get install build-essential binutils-arm-none-eabi -y run: sudo apt-get update && sudo apt-get install build-essential binutils-arm-none-eabi -y
@ -28,7 +30,7 @@ jobs:
path: | path: |
~/.cargo/registry ~/.cargo/registry
~/.cargo/git ~/.cargo/git
agb/target ~/target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: install mgba-test-runner - name: install mgba-test-runner