Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

/bin/sh: dotnet: not found #5

Open
ranganapeiris opened this issue Dec 31, 2019 · 2 comments
Open

/bin/sh: dotnet: not found #5

ranganapeiris opened this issue Dec 31, 2019 · 2 comments

Comments

@ranganapeiris
Copy link

ranganapeiris commented Dec 31, 2019

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.

@WesJones127
Copy link

I'm having the same problem, any updates?

@charles-salmon
Copy link

@ranganapeiris @WesJones127 I have just published a .NET CDK GitHub action that you may like to take a look at.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants