Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gottscj authored Nov 18, 2024
1 parent 5f7b60f commit 7977ed1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7977ed1

Please sign in to comment.