Skip to content

Commit

Permalink
chore: remove sccache (#1381)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->
Fixes RVT-3911
## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
MasterPtato committed Nov 22, 2024
1 parent 44d9f7c commit 8432381
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
16 changes: 0 additions & 16 deletions .github/actions/pre-init-distributed/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ description: Set up Nix and Bolt
# shell: bash -e {0}

inputs:
SCCACHE_AWS_SECRET_ACCESS_KEY:
required: true
SCCACHE_AWS_ACCESS_KEY_ID:
required: true
DOCKER_CI_ACCESS_TOKEN:
required: true

Expand All @@ -29,18 +25,6 @@ runs:
${{ runner.os }}-nix-${{ hashfiles('./shell.nix', './nix/**/*.nix') }}
${{ runner.os }}-nix-
# We can't use the GitHub cache because it has a max size of 10 GB
- name: Enable sccache
shell: bash -e {0}
run: |
# Expose sccache config for all future calls of nix-shell, which configures sccache respectively
echo 'USE_SCCACHE=1' >> $GITHUB_ENV
echo 'SCCACHE_BUCKET=rivet-sccache' >> $GITHUB_ENV
echo 'SCCACHE_ENDPOINT=https://2a94c6a0ced8d35ea63cddc86c2681e7.r2.cloudflarestorage.com/rivet-sccache' >> $GITHUB_ENV
echo 'SCCACHE_REGION=auto' >> $GITHUB_ENV
echo 'AWS_SECRET_ACCESS_KEY=${{ inputs.SCCACHE_AWS_SECRET_ACCESS_KEY }}' >> $GITHUB_ENV
echo 'AWS_ACCESS_KEY_ID=${{ inputs.SCCACHE_AWS_ACCESS_KEY_ID }}' >> $GITHUB_ENV
# Cache generated Bolt files in order to prevent needless rebuilding
- name: Bolt Cache
uses: actions/cache@v3
Expand Down
16 changes: 0 additions & 16 deletions .github/actions/pre-init/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ description: Set up Nix and Bolt
# shell: bash -e {0}

inputs:
SCCACHE_AWS_SECRET_ACCESS_KEY:
required: true
SCCACHE_AWS_ACCESS_KEY_ID:
required: true
OP_SERVICE_ACCOUNT_TOKEN:
required: true

Expand All @@ -29,18 +25,6 @@ runs:
${{ runner.os }}-nix-${{ hashfiles('./shell.nix', './nix/**/*.nix') }}
${{ runner.os }}-nix-
# We can't use the GitHub cache because it has a max size of 10 GB
- name: Enable sccache
shell: bash -e {0}
run: |
# Expose sccache config for all future calls of nix-shell, which configures sccache respectively
echo 'USE_SCCACHE=1' >> $GITHUB_ENV
echo 'SCCACHE_BUCKET=rivet-sccache' >> $GITHUB_ENV
echo 'SCCACHE_ENDPOINT=https://2a94c6a0ced8d35ea63cddc86c2681e7.r2.cloudflarestorage.com/rivet-sccache' >> $GITHUB_ENV
echo 'SCCACHE_REGION=auto' >> $GITHUB_ENV
echo 'AWS_SECRET_ACCESS_KEY=${{ inputs.SCCACHE_AWS_SECRET_ACCESS_KEY }}' >> $GITHUB_ENV
echo 'AWS_ACCESS_KEY_ID=${{ inputs.SCCACHE_AWS_ACCESS_KEY_ID }}' >> $GITHUB_ENV
# MARK: Nix
- uses: cachix/install-nix-action@v22
with:
Expand Down

0 comments on commit 8432381

Please sign in to comment.