Skip to content

Commit 2f1c781

Browse files
committed
Change the NuGet publish to use Ubuntu
- Path issues with Windows. - Add manual trigger event for Web Hook triggering of build, publish and test.
1 parent b41233f commit 2f1c781

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- master
7+
repository_dispatch:
8+
types: [build]
79

810
jobs:
911

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
publishPackages:
1212

13-
runs-on: windows-latest
13+
runs-on: ubuntu-latest
1414

1515
env:
1616
SOLUTION_PATH: 'src/Blockcore.sln'
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
dotnet-version: '3.1.101'
2727

28-
- name: Setup NuGet.exe
28+
- name: Setup NuGet
2929
uses: NuGet/setup-nuget@v1.0.2
3030

3131
# - name: Set GITHUB_OWNER

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Test
33
on:
44
schedule:
55
- cron: '0 3 * * *'
6+
repository_dispatch:
7+
types: [test]
68

79
jobs:
810

0 commit comments

Comments
 (0)