diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3357bba..19a7bec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,21 +47,6 @@ jobs: with: name: nupkg path: ${{ env.PROJECT_NAME }}/bin/Release/*.nupkg - prerelease: - needs: build - if: github.ref == 'refs/heads/develop' - runs-on: ubuntu-latest - steps: - - name: Download Artifact - uses: actions/download-artifact@v1 - with: - name: nupkg - - name: Push to GitHub Feed - run: | - for f in ./nupkg/*.nupkg - do - curl -vX PUT -u "$GITHUB_USER:$GITHUB_TOKEN" -F package=@$f $GITHUB_FEED - done deploy: needs: build if: github.event_name == 'release' @@ -72,6 +57,10 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: 5.0.100 + - name: Restore + run: dotnet restore + - name: Build + run: dotnet build -c Release --no-restore - name: Create Release NuGet package run: | arrTag=(${GITHUB_REF//\// })