Skip to content

Commit

Permalink
add: dotnet build for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
shin4488 committed Jun 16, 2023
1 parent 1d5405a commit b06ed7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lambda_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
run: dotnet build ${ GITHUB_WORKSPACE }

- name: Build and Deploy
run: |
zip TwitterMlbBotExecution -r ${GITHUB_WORKSPACE}/TwitterMlbBotExecution/src/TwitterMlbBotExecution/bin/Debug/net6.0
zip TwitterMlbBotExecution -r ${ GITHUB_WORKSPACE }/TwitterMlbBotExecution/src/TwitterMlbBotExecution/bin/Debug/net6.0
aws lambda update-function-code --function-name TwitterMlbBot --zip-file fileb://TwitterMlbBotExecution.zip --publish

0 comments on commit b06ed7e

Please sign in to comment.