Skip to content

Commit

Permalink
Update DOTNET_VERSION in OrcaHello v2 github workflows (#186)
Browse files Browse the repository at this point in the history
* Update DOTNET_VERSION

Signed-off-by: Dave Thaler <[email protected]>

* Temporarily add workflows for pull requests

Signed-off-by: Dave Thaler <[email protected]>

---------

Signed-off-by: Dave Thaler <[email protected]>
  • Loading branch information
dthaler authored Sep 17, 2024
1 parent d1e7689 commit 736c864
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/OrcaHello.Web.Api.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: OrcaHello.Web.Api

on:
pull_request:
branches:
- main
paths:
- ModeratorFrontEnd/OrcaHello/OrcaHello.Web.Api/**
- ModeratorFrontEnd/OrcaHello/OrcaHello.Web.Shared/**
push:
branches:
- main
Expand All @@ -10,7 +16,7 @@ on:
workflow_dispatch: # Allow manual workflow invocation from the Github Actions UI

env:
DOTNET_VERSION: 6.0.x
DOTNET_VERSION: 8.0.x
DOTNET_RUNTIME: win-x86
WORKING_DIR: ModeratorFrontEnd/OrcaHello/OrcaHello.Web.Api
PUBLISH_DIR: output
Expand All @@ -31,7 +37,7 @@ jobs:
egress-policy: audit
- name: Checkout
uses: actions/checkout@v2
- name: Setup .NET Core
- name: Set up .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/OrcaHello.Web.UI.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: OrcaHello.Web.UI

on:
pull_request:
branches:
- main
paths:
- ModeratorFrontEnd/OrcaHello/OrcaHello.Web.UI/**
- ModeratorFrontEnd/OrcaHello/OrcaHello.Web.Shared/**
push:
branches:
- main
Expand All @@ -10,7 +16,7 @@ on:
workflow_dispatch: # Allow manual workflow invocation from the Github Actions UI

env:
DOTNET_VERSION: 6.0.x
DOTNET_VERSION: 8.0.x
DOTNET_RUNTIME: win-x86
WORKING_DIR: ModeratorFrontEnd/OrcaHello/OrcaHello.Web.UI
PUBLISH_DIR: output
Expand All @@ -31,7 +37,7 @@ jobs:
egress-policy: audit
- name: Checkout
uses: actions/checkout@v2
- name: Setup .NET Core
- name: Set up .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
Expand Down

0 comments on commit 736c864

Please sign in to comment.