aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/back-ci.yaml
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-10-27 19:21:35 +0800
committercrupest <crupest@outlook.com>2020-10-27 19:21:35 +0800
commit05ccb4d8f1bbe3fb64e117136b4a89bcfb0b0b33 (patch)
tree929e514de85eb82a5acb96ecffc6e6d2d95f878f /.github/workflows/back-ci.yaml
parent986c6f2e3b858d6332eba0b42acc6861cd4d0227 (diff)
downloadtimeline-05ccb4d8f1bbe3fb64e117136b4a89bcfb0b0b33.tar.gz
timeline-05ccb4d8f1bbe3fb64e117136b4a89bcfb0b0b33.tar.bz2
timeline-05ccb4d8f1bbe3fb64e117136b4a89bcfb0b0b33.zip
Split front and back end.
Diffstat (limited to '.github/workflows/back-ci.yaml')
-rw-r--r--.github/workflows/back-ci.yaml16
1 files changed, 10 insertions, 6 deletions
diff --git a/.github/workflows/back-ci.yaml b/.github/workflows/back-ci.yaml
index a7f4f2d0..5b4609f7 100644
--- a/.github/workflows/back-ci.yaml
+++ b/.github/workflows/back-ci.yaml
@@ -3,17 +3,21 @@ name: Back End CI
on:
push:
branches: [master]
- paths-ignore:
- - "Timeline/ClientApp/**"
+ paths:
+ - "BackEnd/**"
pull_request:
branches: [master]
- paths-ignore:
- - "Timeline/ClientApp/**"
+ paths:
+ - "BackEnd/**"
jobs:
build:
name: Build
runs-on: ubuntu-latest
+ defaults:
+ run:
+ shell: bash
+ working-directory: BackEnd
env:
ASPNETCORE_ENVIRONMENT: "Development"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
@@ -25,7 +29,7 @@ jobs:
uses: actions/cache@v2
with:
path: ${{ env.NUGET_PACKAGES }}
- key: nuget-${{ runner.os }}-${{ hashFiles('**/packages.lock.json') }}
+ key: nuget-${{ runner.os }}-${{ hashFiles('BackEnd/**/packages.lock.json') }}
restore-keys: |
nuget-${{ runner.os }}-
@@ -42,4 +46,4 @@ jobs:
if: ${{ success() || failure() }}
with:
name: test-result
- path: Timeline.Tests/TestResults/
+ path: BackEnd/Timeline.Tests/TestResults/