Skip to content

Commit

Permalink
Include aws-lambda-tools-defaults.json
Browse files Browse the repository at this point in the history
Include the `aws-lambda-tools-defaults.json` file in publish so it is included in the Lambda ZIP file so it can be used to configure the Lambda when deployed.
  • Loading branch information
martincostello committed Nov 26, 2023
1 parent bf40673 commit 791f4c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ jobs:
then
chmod +x ./bootstrap
fi
echo "${LAMBDA_ARCHITECTURES}" >> "LAMBDA_ARCHITECTURES"
zip -r "../../../${LAMBDA_FUNCTION}.zip" . "LAMBDA_ARCHITECTURES" || exit 1
zip -r "../../../${LAMBDA_FUNCTION}.zip" . || exit 1
- name: Publish deployment package
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
Expand Down
2 changes: 1 addition & 1 deletion src/LondonTravel.Skill/LondonTravel.Skill.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<Compile Update="Strings.Designer.cs" AutoGen="True" DependentUpon="Strings.resx" DesignTime="True" />
<EmbeddedResource Update="Strings.resx" Generator="ResXFileCodeGenerator" LastGenOutput="Strings.Designer.cs" />
<EmbeddedResource Update="Strings.*.resx" DependentUpon="Strings.resx" />
<None Include="appsettings.json" CopyToPublishDirectory="PreserveNewest" />
<None Include="appsettings.json;aws-lambda-tools-defaults.json" CopyToPublishDirectory="PreserveNewest" />
</ItemGroup>
<ItemGroup Condition=" '$(RuntimeIdentifier)' == 'linux-arm64' ">
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" />
Expand Down

0 comments on commit 791f4c0

Please sign in to comment.