Skip to content

Commit

Permalink
Update variable names in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterPtato committed Feb 1, 2024
1 parent ca10a72 commit 49c0647
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/actions/pre-init/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ description: Set up Nix and Bolt
# shell: bash -e {0}

inputs:
sccache_aws_secret_access_key:
SCCACHE_AWS_SECRET_ACCESS_KEY:
required: true
sccache_aws_access_key_id:
SCCACHE_AWS_ACCESS_KEY_ID:
required: true

runs:
Expand All @@ -36,8 +36,8 @@ runs:
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
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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bolt-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:

- uses: ./.github/actions/pre-init
with:
sccache_aws_secret_access_key: ${{ secrets.SCCACHE_AWS_SECRET_ACCESS_KEY }}
sccache_aws_access_key_id: ${{ secrets.SCCACHE_AWS_ACCESS_KEY_ID }}
SCCACHE_AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_AWS_SECRET_ACCESS_KEY }}
SCCACHE_AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_AWS_ACCESS_KEY_ID }}

- name: Bolt Generate Project
run: nix-shell --pure --run "bolt gen project"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bolt-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:

- uses: ./.github/actions/pre-init
with:
sccache_aws_secret_access_key: ${{ secrets.SCCACHE_AWS_SECRET_ACCESS_KEY }}
sccache_aws_access_key_id: ${{ secrets.SCCACHE_AWS_ACCESS_KEY_ID }}
SCCACHE_AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_AWS_SECRET_ACCESS_KEY }}
SCCACHE_AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_AWS_ACCESS_KEY_ID }}

- name: Bolt Init
run: nix-shell --pure --run "bolt init --yes ci"
Expand Down

0 comments on commit 49c0647

Please sign in to comment.