diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fe0f78..5351a9d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,14 +29,8 @@ jobs: key: nuget-cache path: ~/.nuget/packages - - name: Restore dependencies - run: dotnet restore ./src - - name: Build - run: dotnet build ./src -c Release --no-restore /p:AssemblyVersion=${{ github.event.inputs.version }} /p:Version=${{ github.event.inputs.version }} - - - name: Test - run: dotnet test ./src -c Release --no-build --verbosity normal + run: dotnet build ./src/Hangfire.Mongo/Hangfire.Mongo.csproj -c Release /p:AssemblyVersion=${{ github.event.inputs.version }} /p:Version=${{ github.event.inputs.version }} - name: Create a Release uses: softprops/action-gh-release@v2