feat: add support for deploying ARM console apps to ECS Fargate #558
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: Detect Rest API Client Changes | |
on: [pull_request] | |
jobs: | |
detect-restapi-client-changes: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
- name: Setup .NET Core 6.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Run Client Generator | |
run: | | |
cd ./src/AWS.Deploy.ServerMode.ClientGenerator | |
dotnet run --project ./AWS.Deploy.ServerMode.ClientGenerator.csproj | |
- name: Verify Changed files | |
uses: tj-actions/verify-changed-files@6ed7632824d235029086612d4330d659005af687 | |
id: verify-changed-files | |
with: | |
files: | | |
RestAPI.cs | |
- name: Fail if RestAPI Changes Detected | |
if: steps.verify-changed-files.outputs.files_changed == 'true' | |
run: | | |
echo "There are changes in RestApi.cs. Make sure to run the generator and commit the updated RestApi.cs." | |
exit 1 |