Skip to content

Commit

Permalink
last fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony committed Jan 9, 2023
1 parent 9112630 commit c1239bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 1 addition & 6 deletions .github/actions/build-debug-turborepo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,11 @@ runs:
- name: "Setup Rust"
uses: ./.github/actions/setup-rust
with:
target: ${{ inputs.target }}
shared-cache-key: turborepo-debug-build
cache-key: ${{ inputs.target }}
save-cache: true

- name: "Set Windows default host to MingW"
if: ${{ inputs.target == 'windows' }}
shell: bash
run: |
rustup set default-host x86_64-pc-windows-gnu && rustup show
- name: Build Turborepo
working-directory: ./cli
shell: bash
Expand Down
3 changes: 1 addition & 2 deletions .github/actions/setup-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,4 @@ runs:
key: ${{ inputs.cache-key }}
prefix-key: rust-cache-test
# the cache is huge and we only get 10gb max, so we only save on master
# TODO: remove PR branch
save-if: ${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/pull/3175/merge') && inputs.save-cache || 'false' }}
save-if: ${{ github.ref == 'refs/heads/main' && inputs.save-cache || 'false' }}

0 comments on commit c1239bb

Please sign in to comment.