From 8a55eb380823025e02303493041c4a620ebf9ce5 Mon Sep 17 00:00:00 2001 From: Adam Shaw Date: Tue, 14 Nov 2023 14:47:14 -0800 Subject: [PATCH] Fixing workign directory --- .github/workflows/IntegrationTesting.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/IntegrationTesting.yml b/.github/workflows/IntegrationTesting.yml index ca31a0dd..1b7a94be 100644 --- a/.github/workflows/IntegrationTesting.yml +++ b/.github/workflows/IntegrationTesting.yml @@ -21,16 +21,18 @@ jobs: run: rsync -r * sample-apps/http-server/aws-xray-sdk-go --exclude sample-apps/ - name: The application.go file must be at the working directory level in EB Go. We need to change the redirection to the folder we copied in the previous step. - run: sed -i '' 's|replace github.com/aws/aws-xray-sdk-go => ../../|replace github.com/aws/aws-xray-sdk-go => ./aws-xray-sdk-go|g' sample-apps/http-server/go.mod + run: sed -i '' 's|replace github.com/aws/aws-xray-sdk-go => ../../|replace github.com/aws/aws-xray-sdk-go => ./aws-xray-sdk-go|g' go.mod + working-directory: ./sample-apps/http-server - name: Zip up the deployment package run: zip -r deploy.zip . -x '*.git*' + working-directory: ./sample-apps/http-server - name: Upload WebApp with X-Ray SDK build artifact uses: actions/upload-artifact@v2 with: name: deployment-package - path: deploy.zip + path: sample-apps/http-server/deploy.zip deploy_WebApp: name: Deploy X-Ray Instrumented Web App