diff --git a/.github/workflows/build-executable-task.yml b/.github/workflows/build-executable-task.yml index 4b7a900b..9ea6dfd3 100644 --- a/.github/workflows/build-executable-task.yml +++ b/.github/workflows/build-executable-task.yml @@ -36,7 +36,7 @@ jobs: run: | dotnet publish ./Console/Console.csproj \ --runtime ${{ matrix.runtime }} \ - --output ${{ runner.temp }}/publish/${{ matrix.runtime }} \ + -property:PublishDir=${{ runner.temp }}/publish/${{ matrix.runtime }}/ \ --configuration ${{ github.ref_name == 'main' && 'Release' || 'Debug' }} \ -property:PublishAot=false \ -property:Version=${{ needs.get-version.outputs.AssemblyVersion }} \ diff --git a/.github/workflows/build-library-task.yml b/.github/workflows/build-library-task.yml index 53d4c28a..6bd1279b 100644 --- a/.github/workflows/build-library-task.yml +++ b/.github/workflows/build-library-task.yml @@ -40,7 +40,8 @@ jobs: - name: Build library project step run: | dotnet build ./Library/Library.csproj \ - --output ${{ runner.temp }}/publish \ + -property:OutputPath=${{ runner.temp }}/publish/ \ + -property:PackageOutputPath=${{ runner.temp }}/publish/ \ --configuration ${{ github.ref_name == 'main' && 'Release' || 'Debug' }} \ -property:Version=${{ needs.get-version.outputs.AssemblyVersion }} \ -property:FileVersion=${{ needs.get-version.outputs.AssemblyFileVersion }} \