Skip to content

Commit ff2d336

Browse files
authored
chore: disable s3 save cache (#241)
1 parent 185a645 commit ff2d336

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

.github/workflows/menlo-build.yml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -318,28 +318,6 @@ jobs:
318318
ccache -V
319319
rm -rf /tmp/ccache-4.10.2-linux-x86_64.tar.xz /tmp/ccache-4.10.2-linux-x86_64
320320
321-
- name: Download ccache from s3
322-
if: runner.os == 'Windows'
323-
continue-on-error: true
324-
run: |
325-
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
326-
refreshenv
327-
aws s3 sync s3://${{ secrets.MINIO_BUCKET_NAME }}/ccache-data-${{ matrix.os }}-${{ matrix.name }} ${{ matrix.ccache-dir }} --endpoint ${{ secrets.MINIO_ENDPOINT }} --cli-read-timeout 0
328-
env:
329-
AWS_ACCESS_KEY_ID: "${{ secrets.MINIO_ACCESS_KEY_ID }}"
330-
AWS_SECRET_ACCESS_KEY: "${{ secrets.MINIO_SECRET_ACCESS_KEY }}"
331-
AWS_DEFAULT_REGION: "${{ secrets.MINIO_REGION }}"
332-
333-
- name: Download ccache from s3
334-
if: runner.os == 'Linux'
335-
continue-on-error: true
336-
run: |
337-
aws s3 sync s3://${{ secrets.MINIO_BUCKET_NAME }}/ccache-data-${{ matrix.os }}-${{ matrix.name }} ${{ matrix.ccache-dir }} --endpoint ${{ secrets.MINIO_ENDPOINT }} --cli-read-timeout 0
338-
env:
339-
AWS_ACCESS_KEY_ID: "${{ secrets.MINIO_ACCESS_KEY_ID }}"
340-
AWS_SECRET_ACCESS_KEY: "${{ secrets.MINIO_SECRET_ACCESS_KEY }}"
341-
AWS_DEFAULT_REGION: "${{ secrets.MINIO_REGION }}"
342-
343321
- name: Install coreutils macos
344322
if: runner.os == 'macOS'
345323
run: |
@@ -492,28 +470,6 @@ jobs:
492470
asset_name: llama-${{ needs.create-draft-release.outputs.version }}-bin-${{ matrix.os }}-${{ matrix.name }}.tar.gz
493471
asset_content_type: application/gzip
494472

495-
- name: Upload ccache to s3
496-
continue-on-error: true
497-
if: always() && runner.os == 'Windows'
498-
run: |
499-
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
500-
refreshenv
501-
aws s3 sync ${{ matrix.ccache-dir }} s3://${{ secrets.MINIO_BUCKET_NAME }}/ccache-data-${{ matrix.os }}-${{ matrix.name }} --endpoint ${{ secrets.MINIO_ENDPOINT }}
502-
env:
503-
AWS_ACCESS_KEY_ID: "${{ secrets.MINIO_ACCESS_KEY_ID }}"
504-
AWS_SECRET_ACCESS_KEY: "${{ secrets.MINIO_SECRET_ACCESS_KEY }}"
505-
AWS_DEFAULT_REGION: "${{ secrets.MINIO_REGION }}"
506-
507-
- name: Upload ccache to s3
508-
continue-on-error: true
509-
if: always() && runner.os == 'Linux'
510-
run: |
511-
aws s3 sync ${{ matrix.ccache-dir }} s3://${{ secrets.MINIO_BUCKET_NAME }}/ccache-data-${{ matrix.os }}-${{ matrix.name }} --endpoint ${{ secrets.MINIO_ENDPOINT }}
512-
env:
513-
AWS_ACCESS_KEY_ID: "${{ secrets.MINIO_ACCESS_KEY_ID }}"
514-
AWS_SECRET_ACCESS_KEY: "${{ secrets.MINIO_SECRET_ACCESS_KEY }}"
515-
AWS_DEFAULT_REGION: "${{ secrets.MINIO_REGION }}"
516-
517473
- name: Remove Keychain
518474
continue-on-error: true
519475
if: always() && runner.os == 'macOS'

0 commit comments

Comments
 (0)