aws-cdk-github-actions
aws-cdk-github-actions copied to clipboard
/bin/sh: dotnet: not found
Hi youyo,
Do these actions support AWS CDK project written in .Net Core 3.x?
I am very new to Github actions. I was trying to use your actions to deploy my app to AWS using AWS CDK (with .Net CDK project). But I am getting '/bin/sh: dotnet: not found' error when i run below job in my workflow.
deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.100 - name: Build run: dotnet build --configuration Release - name: AWS CDK synth uses: youyo/aws-cdk-github-actions@master with: cdk_subcommand: 'synth' working_dir: 'Deployment' env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: 'ap-southeast-2'
Any help would be appreciated.
I'm having the same problem, any updates?
@ranganapeiris @WesJones127 I have just published a .NET CDK GitHub action that you may like to take a look at.