|
|
@ -20,7 +20,6 @@ jobs:
|
|
|
|
uses: actions/cache@v2
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
path: |
|
|
|
|
target
|
|
|
|
|
|
|
|
~/.cargo/
|
|
|
|
~/.cargo/
|
|
|
|
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
|
|
|
|
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
|
|
|
|
restore-keys: |
|
|
|
|
restore-keys: |
|
|
|
@ -31,6 +30,8 @@ jobs:
|
|
|
|
use-cross: false
|
|
|
|
use-cross: false
|
|
|
|
command: build
|
|
|
|
command: build
|
|
|
|
args: --release --target x86_64-unknown-linux-gnu
|
|
|
|
args: --release --target x86_64-unknown-linux-gnu
|
|
|
|
|
|
|
|
- name: Strip symbols
|
|
|
|
|
|
|
|
run: strip target/x86_64-unknown-linux-gnu/release/tobi-rs
|
|
|
|
- name: Move binaries
|
|
|
|
- name: Move binaries
|
|
|
|
run: mv target/x86_64-unknown-linux-gnu/release/tobi-rs target/tobi-rs-linux-x86_64
|
|
|
|
run: mv target/x86_64-unknown-linux-gnu/release/tobi-rs target/tobi-rs-linux-x86_64
|
|
|
|
- name: Upload artifacts
|
|
|
|
- name: Upload artifacts
|
|
|
|