chore(deps): bump AWSSDK.DynamoDBv2 in /MovementPass.Public.Api.Tests #1220
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: [push, pull_request] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: .NET setup | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6 | |
- name: Lambda.Tools install | |
run: dotnet tool install -g Amazon.Lambda.Tools | |
- name: Release | |
run: | | |
dotnet restore | |
dotnet test --no-restore --verbosity normal | |
cd MovementPass.Public.Api | |
dotnet lambda package -o movement-pass_public-api_v1.zip | |
- name: Update | |
if: ${{ github.event_name == 'push' && github.ref_name == 'main' && env.AWS_REGION != '' }} | |
uses: kazimanzurrashid/[email protected] | |
with: | |
zip-file: MovementPass.Public.Api/movement-pass_public-api_v1.zip | |
env: | |
AWS_REGION: ${{ secrets.AWS_REGION }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |