diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 6d4ada1..35cfa52 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -40,7 +40,7 @@ jobs: run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV - name: Pack - run: dotnet pack src/Input.Joystick/Input.Joystick.csproj -version "${VERSION}" + run: dotnet pack src/Input.Joystick/Input.Joystick.csproj -p:PackageVersion "${VERSION}" --output . - name: Push to nuget run: dotnet nuget push Input.Joystick.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${API_KEY} --skip-duplicate