Skip to content

Commit 540d556

Browse files
committed
fixup! feat(ci): Fake build project
1 parent 325b054 commit 540d556

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/build+test+deploy.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,20 @@ jobs:
7373
- name: Publish (if tag)
7474
if: startsWith(github.ref, 'refs/tags/')
7575
shell: pwsh
76+
env:
77+
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
78+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
79+
FAKE_DETAILED_ERRORS: true
80+
7681
run: ./build.ps1 Publish
7782

7883
- name: PublishToGitHub (if master branch)
7984
if: github.ref == 'refs/heads/master'
8085
shell: pwsh
86+
env:
87+
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
88+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
89+
FAKE_DETAILED_ERRORS: true
8190
run: ./build.ps1 PublishToGitHub
8291

8392

build.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# PowerShell equivalent of build.sh
2-
31
$ErrorActionPreference = 'Stop'
42

53
# Pass all arguments to dotnet run

0 commit comments

Comments
 (0)