Skip to content

Commit

Permalink
Remove unused cache configuration in CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oleander committed Nov 16, 2024
1 parent 160c26e commit dc07ae8
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,13 @@ jobs:
git config user.name "Linus Oleander"
git config user.email "oleander@users.noreply.github.com"
# - name: Cache target and cargo build
# uses: actions/cache@v4
# with:
# path: |
# ~/.rustup/toolchains/
# target/
# key: ${{ runner.os }}-rustup-cargo-${{ env.TARGET }}-${{ hashFiles('**/Cargo.lock') }}
# restore-keys: |
# ${{ runner.os }}-rustup-cargo-${{ env.TARGET }}-

- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: ${{ env.TARGET }}
override: true
profile: dev

- name: Install cargo-bump
run: cargo install cargo-bump
Expand All @@ -81,7 +72,7 @@ jobs:
# run: cargo publish --allow-dirty --dry-run

- name: Build for target (${{ env.TARGET }})
run: cargo build -Zunstable-options -Zbuild-std --profile dev --artifact-dir bin --target ${{ env.TARGET }}
run: cargo build -Zunstable-options --profile dev --artifact-dir bin --target ${{ env.TARGET }}

- name: List all targets
run: |
Expand Down

0 comments on commit dc07ae8

Please sign in to comment.