mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
chore(ci): set up sccache (again) (#10142)
This was removed in a8f93d24a3 but it
turns out it's quite trivial just to use the GitHub actions cache (the
default).
Fixes #10125
This commit is contained in:
9
.github/actions/setup-rust/action.yml
vendored
9
.github/actions/setup-rust/action.yml
vendored
@@ -33,6 +33,9 @@ outputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
|
||||
- run: echo "RUSTC_WRAPPER=$SCCACHE_PATH" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
- name: Disable Windows Defender
|
||||
if: ${{ runner.os == 'Windows' }}
|
||||
run: Set-MpPreference -DisableRealtimeMonitoring $true
|
||||
@@ -62,3 +65,9 @@ runs:
|
||||
|
||||
echo "nightly=$NIGHTLY" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- name: Start sccache
|
||||
run: $SCCACHE_PATH --start-server
|
||||
shell: bash
|
||||
env:
|
||||
SCCACHE_CONF: ".github/actions/setup-rust/sccache.toml"
|
||||
|
||||
Reference in New Issue
Block a user