Skip to content

Commit

Permalink
Change the NuGet publish to use Ubuntu
Browse files Browse the repository at this point in the history
- Path issues with Windows.
- Add manual trigger event for Web Hook triggering of build, publish and test.
  • Loading branch information
sondreb committed Apr 19, 2020
1 parent b41233f commit 2f1c781
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- master
repository_dispatch:
types: [build]

jobs:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

publishPackages:

runs-on: windows-latest
runs-on: ubuntu-latest

env:
SOLUTION_PATH: 'src/Blockcore.sln'
Expand All @@ -25,7 +25,7 @@ jobs:
with:
dotnet-version: '3.1.101'

- name: Setup NuGet.exe
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.2

# - name: Set GITHUB_OWNER
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Test
on:
schedule:
- cron: '0 3 * * *'
repository_dispatch:
types: [test]

jobs:

Expand Down

0 comments on commit 2f1c781

Please sign in to comment.