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 Use Zip Action #534

Merged
merged 1 commit into from
Aug 3, 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
16 changes: 8 additions & 8 deletions .github/workflows/integrationTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ on:
branches:
- master


workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -199,10 +198,11 @@ jobs:
run: |
aws s3 cp s3://${S3_INTEGRATION_BUCKET}/integration-test/binary/${{ github.sha }} . --recursive

- uses: montudor/action-zip@v1
- name: Unzip
if: steps.cached_win_zip.outputs.cache-hit != 'true'
with:
args: unzip -qq windows/amd64/amazon-cloudwatch-agent.zip -d windows-agent
run: |
sudo apt install unzip
unzip windows/amd64/amazon-cloudwatch-agent.zip -d windows-agent

- name: Create msi dep folder and copy deps
if: steps.cached_win_zip.outputs.cache-hit != 'true'
Expand All @@ -215,11 +215,11 @@ jobs:
go run integration/msi/tools/msiversion/msiversionconverter.go $version msi_dep/amazon-cloudwatch-agent.wxs '<version>' --tags=integration
go run integration/msi/tools/msiversion/msiversionconverter.go $version msi_dep/manifest.json __VERSION__ --tags=integration

- uses: vimtor/action-zip@v1
- name: Zip
if: steps.cached_win_zip.outputs.cache-hit != 'true'
with:
files: msi_dep/
dest: buildMSI.zip
run: |
sudo apt install zip
zip -r buildMSI.zip msi_dep

- name: Upload zip
if: steps.cached_win_zip.outputs.cache-hit != 'true'
Expand Down