Skip to content

Commit 72d60fa

Browse files
committed
Switching to ubuntu based builds because windows based github actions are just unpleasent
1 parent a9ab905 commit 72d60fa

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414

1515
jobs:
1616
build:
17-
runs-on: windows-latest
17+
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout repository
2020
uses: actions/checkout@v2
@@ -34,7 +34,7 @@ jobs:
3434
uses: actions/upload-artifact@v2
3535
with:
3636
name: ${{ env.APP }}
37-
path: src\I8Beef.Ecobee\bin\Release\netstandard2.0
37+
path: src/I8Beef.Ecobee/bin/Release/netstandard2.0
3838

3939
- name: Test
4040
run: dotnet test ${{ env.SOLUTION }} --no-restore --verbosity normal --logger trx --results-directory "TestResults"

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111

1212
jobs:
1313
build:
14-
runs-on: windows-latest
14+
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout repository
1717
uses: actions/checkout@v2
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/upload-artifact@v2
4646
with:
4747
name: ${{ env.APP }}
48-
path: src\I8Beef.Ecobee\bin\Release\netstandard2.0
48+
path: src/I8Beef.Ecobee/bin/Release/netstandard2.0
4949

5050
- name: Upload TestResults build artifact
5151
uses: actions/upload-artifact@v2
@@ -62,7 +62,7 @@ jobs:
6262

6363
- name: GitHub release
6464
uses: actions/create-release@v1
65-
id: create_release
65+
id: release
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6868
with:
@@ -82,4 +82,4 @@ jobs:
8282
path: out
8383

8484
- name: NuGet push
85-
run: dotnet nuget push ".\out\*.nupkg" --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_TOKEN }}
85+
run: dotnet nuget push "./out/*.nupkg" --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_TOKEN }}

0 commit comments

Comments
 (0)