Skip to content

Commit

Permalink
Fix issues in build pipeline and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Jcparkyn committed Nov 13, 2021
1 parent 31aabc6 commit 8013617
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@ jobs:
- name: Install dependencies
run: dotnet restore

- name: Build
run: dotnet build

- name: Test
run: dotnet test
run: dotnet test -c Release --no-restore

- name: Publish app
run: dotnet publish -c Release
run: dotnet publish -c Release --no-restore

- name: Rewrite base href
uses: SteveSandersonMS/ghaction-rewrite-base-href@v1
Expand All @@ -38,7 +35,7 @@ jobs:

- name: GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v1.5.1
uses: crazy-max/ghaction-github-pages@v2.5.0
with:
target_branch: gh-pages
build_dir: ${{ env.PUBLISH_DIR }}
Expand Down
1 change: 1 addition & 0 deletions Nodexr/Nodexr.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<Nullable>enable</Nullable>
<DocumentationFile>Nodexr.xml</DocumentationFile>
<NoWarn>1701;1702;1591</NoWarn>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 8013617

Please sign in to comment.