경로를 게시하기위한 GitHub 작업

Sep 21 2020

다음과 같이 빌드 yaml 파일이 있습니다.

jobs:
  XYZBuildAndRelease:
    strategy:
      matrix:
        BuildConfiguration:
        - debug
        - release
      max-parallel: 2

    runs-on: windows-2019

    steps:  
   
    - name: List contents of a folder
      run: dir

    - name: dotnet publish graph updater
      run: dotnet publish Service/XYZ/Hosts.FA/*.csproj --configuration Release --output updater_publish_output

이 yaml 파일을 푸시 할 때 빌드 실패가 표시됩니다. 프로젝트 파일이 없습니다.

내가 무엇을 놓치고 있습니까?

답변

1 riQQ Sep 23 2020 at 06:42

게시 할 프로젝트를 명시 적으로 지정

- name: dotnet publish graph updater
  run: dotnet publish Service/GroupMembershipManagement/Hosts.GraphUpdater/Hosts.GraphUpdater.csproj --configuration Release --output updater_publish_output

이유 : 동시에 여러 프로젝트를 게시 할 수 없습니다. https://github.com/dotnet/sdk/issues/7238.