diff --git a/.github/workflows/cd-controls.yml b/.github/workflows/cd-controls.yml index 5b542efbfdc6..4ac11e87aec9 100644 --- a/.github/workflows/cd-controls.yml +++ b/.github/workflows/cd-controls.yml @@ -60,13 +60,13 @@ jobs: - name: Restore NuGet shell: pwsh - run: 'dotnet restore $env:PACKAGE_PROJECT_PATH' + run: dotnet restore ${{ env.PACKAGE_PROJECT_PATH }} - name: Build Files UI Controls run: dotnet build ${{ matrix.project }}.csproj --configuration Release --no-restore - name: Package Files UI Controls - run: dotnet pack ${{ PACKAGE_PROJECT_PATH }}.csproj --configuration Release --no-build -o ./output -p:Version=${{ steps.extract_version.outputs.version }} + run: dotnet pack ${{ env.PACKAGE_PROJECT_PATH }}.csproj --configuration Release --no-build -o ./output -p:Version=${{ steps.extract_version.outputs.version }} - name: Publish package to NuGet run: dotnet nuget push ./output/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json