diff --git a/.github/workflows/push-to-myget.yml b/.github/workflows/push-to-myget.yml index f88696e9..4d8efec4 100644 --- a/.github/workflows/push-to-myget.yml +++ b/.github/workflows/push-to-myget.yml @@ -7,6 +7,12 @@ jobs: - name: checkout uses: actions/checkout@master + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@master + with: + dotnet-version: '6.0.x' + include-prerelease: true + - name: setup nuget.exe uses: NuGet/setup-nuget@v1.0.5 @@ -15,7 +21,7 @@ jobs: run: | cd build .\build.ps1 - nuget pack build-for-myget.nuspec -version 3.4.0-beta.${env:GITHUB_SHA::7} + nuget pack build-for-myget.nuspec -version 3.4.0-beta.${env:GITHUB_RUN_NUMBER} $nupkgName = @(gci *.nupkg)[0].Name $mygetSourcePath = "https://www.myget.org/F/handycontrol" nuget setApiKey ${{ secrets.MYGETTOKEN }} -Source $mygetSourcePath