Compare commits

..

No commits in common. "4827ce030c3a971e3b043fb543dbfbf08e0af5fb" and "633ef93583760409f2e9a66881572b444c7a33ba" have entirely different histories.

View File

@ -6,7 +6,7 @@ jobs:
name: cargo build
runs-on: ubuntu-latest
steps:
- name: Restore cached toolchain
- name: Restore cached Primes
id: cache-toolchain
uses: actions/cache/restore@v4
with:
@ -18,32 +18,13 @@ jobs:
with:
profile: minimal
toolchain: stable
- name: Save cached toolchain
id: cache-toolchain
uses: actions/cache/save@v4
- uses: actions/cache/save@v4
with:
path: |
~/.rustup/toolchains
key: ${{ steps.cache-toolchain.outputs.cache-primary-key }}
- 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
- 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
uses: actions/upload-artifact@v3
with: