Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do Not Cache Full Binary Files As We Use S3 #439

Merged
merged 1 commit into from
Apr 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions .github/workflows/integrationTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
uses: actions/cache@v2
with:
key: "cached_binaries_${{ github.sha }}"
path: build
path: go.mod

- name: Build Binaries
if: steps.cached_binaries.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
uses: actions/cache@v2
with:
key: "cached_win_zip_${{ github.sha }}"
path: buildMSI.zip
path: go.mod

- name: Copy binary
if: steps.cached_win_zip.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
uses: actions/cache@v2
with:
key: "cached_pkg_${{ github.sha }}"
path: RELEASE_NOTES
path: go.mod

- name: Copy binary
if: steps.cached_pkg.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
uses: actions/cache@v2
with:
key: "cached_msi_${{ github.sha }}"
path: buildMSI/amazon-cloudwatch-agent.msi
path: go.mod

# Using the env variable returns "" for bucket name thus use the secret
- name: Copy msi
Expand Down Expand Up @@ -326,8 +326,7 @@ jobs:
id: ec2-linux-integration-test
uses: actions/cache@v2
with:
path: |
RELEASE_NOTES
path: go.mod
key: ec2-linux-integration-test-${{ github.sha }}-${{ matrix.arrays.os }}

- name: Echo OS
Expand Down Expand Up @@ -391,8 +390,7 @@ jobs:
id: ec2-win-integration-test
uses: actions/cache@v2
with:
path: |
RELEASE_NOTES
path: go.mod
key: ec2-win-integration-test-${{ github.sha }}-${{ matrix.arrays.os }}

- name: Echo OS
Expand Down