Compare commits
2 Commits
633ef93583
...
4827ce030c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4827ce030c | ||
|
|
11267704c0 |
@ -6,7 +6,7 @@ jobs:
|
|||||||
name: cargo build
|
name: cargo build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Restore cached Primes
|
- name: Restore cached toolchain
|
||||||
id: cache-toolchain
|
id: cache-toolchain
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
@ -18,13 +18,32 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
- uses: actions/cache/save@v4
|
- name: Save cached toolchain
|
||||||
|
id: cache-toolchain
|
||||||
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.rustup/toolchains
|
~/.rustup/toolchains
|
||||||
key: ${{ steps.cache-toolchain.outputs.cache-primary-key }}
|
key: ${{ steps.cache-toolchain.outputs.cache-primary-key }}
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Restore cached cargo dependencies
|
||||||
|
id: cache-toolchain
|
||||||
|
uses: actions/cache/restore@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.rustup/toolchains
|
||||||
|
key: ${{ runner.os }}-rust-toolchain
|
||||||
- run: cargo build --release --target x86_64-unknown-linux-gnu
|
- run: cargo build --release --target x86_64-unknown-linux-gnu
|
||||||
|
- name: Save cached cargo dependencies
|
||||||
|
id: cache-toolchain
|
||||||
|
uses: actions/cache/save@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.rustup/toolchains
|
||||||
|
key: ${{ steps.cache-toolchain.outputs.cache-primary-key }}
|
||||||
|
|
||||||
- name: Upload Release Binary
|
- name: Upload Release Binary
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user