Skip to content

Commit

Permalink
Update build-container.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric authored Nov 26, 2024
1 parent 12e103e commit 2a00bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
run: |
sed -i 's#<ContainerLabel Include="service" Value="my-app" />#<ContainerLabel Include="service" Value="${{ env.repository_name_lower }}" />#g' MyApp/MyApp.csproj
- name: Check for Client directory
- name: Check for Client directory and package.json
id: check_client
run: |
if [ -d "MyApp.Client" ]; then
if [ -d "MyApp.Client" ] && [ -f "MyApp.Client/package.json" ]; then
echo "client_exists=true" >> $GITHUB_OUTPUT
else
echo "client_exists=false" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 2a00bef

Please sign in to comment.