Skip to content

Commit

Permalink
Fixing workign directory
Browse files Browse the repository at this point in the history
  • Loading branch information
atshaw43 committed Nov 14, 2023
1 parent ecc105a commit 8a55eb3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/IntegrationTesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a55eb3

Please sign in to comment.