Skip to content

Commit

Permalink
Update verions-and-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNek authored Dec 1, 2023
1 parent 5155211 commit eb18c26
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/verions-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name: Deploy Blazor.QrCode with auto version support

on:
push:
branches: [ "main" ]
# --Manual run--
workflow_dispatch:

jobs:
build:
Expand All @@ -23,9 +23,9 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Restore dependencies
- name: Restore dependencies
run: dotnet restore ./Blazor.QrCode/Blazor.QrCode.csproj
- name: Build nuget
run: dotnet build ./Blazor.QrCode/Blazor.QrCode.csproj --no-restore --configuration Release --output ./publish
Expand Down Expand Up @@ -74,4 +74,4 @@ jobs:
});
} catch (error) {
core.setFailed(error.message);
}
}

0 comments on commit eb18c26

Please sign in to comment.