Skip to content

Commit 57fff69

Browse files
author
Ahmad Noman Musleh
committed
Fixed dotnet build issue
1 parent ec60153 commit 57fff69

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/publish_nuget_package_prereleased.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: Publish Nuget Package When Pre-Released
22

3+
#on:
4+
# release:
5+
# types: [prereleased]
36
on:
4-
release:
5-
types: [prereleased]
7+
push:
8+
branches:
9+
- dev
610

711
jobs:
812
build:
@@ -26,7 +30,7 @@ jobs:
2630
run: dotnet restore ./src/OpenAPI.Net/OpenAPI.Net.csproj
2731

2832
- name: Build
29-
run: dotnet build $PROJECT --configuration Release --no-restore
33+
run: dotnet build ./src/OpenAPI.Net/OpenAPI.Net.csproj --configuration Release --no-restore
3034

3135
- name: Decrypt Certificate
3236
run: FileEncrypt decrypt .\certificate.pfx.encrypted ${{secrets.CERTIFICATE_DECRYPTION_KEY}} ${{secrets.CERTIFICATE_DECRYPTION_IV}}

0 commit comments

Comments
 (0)