diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 98843ec6..e38d57f4 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -18,10 +18,8 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ env.DOTNET_VERSION }} - - name: Restore - run: dotnet restore - name: Build - run: dotnet build -c ${{ vars.CONFIGURATION }} --no-restore + run: dotnet build -c ${{ vars.CONFIGURATION }} - name: Test run: dotnet test -c ${{ vars.CONFIGURATION }} --no-build - name: Coveralls @@ -62,6 +60,8 @@ jobs: run: dotnet pack -c ${{ vars.CONFIGURATION }} -p:PackageVersion=${{ steps.create_tag.outputs.release_package_version }} - name: Release run: | + ls -a + cd src/OData.QueryBuilder ls -a dotnet nuget push ./src/OData.QueryBuilder/bin/Release/OData.QueryBuilder.${{ steps.create_tag.outputs.release_package_version }}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s ${{ vars.NUGET_SOURCE }} git tag v${{ steps.create_tag.outputs.release_package_version }}