diff --git a/.github/workflows/develop-ci.yml b/.github/workflows/develop-ci.yml index 6373fb8..55bb380 100644 --- a/.github/workflows/develop-ci.yml +++ b/.github/workflows/develop-ci.yml @@ -3,6 +3,7 @@ name: Develop Build on: workflow_dispatch: pull_request: + branches: [ develop ] push: branches: [ develop ] @@ -16,7 +17,7 @@ jobs: - name: Checkout Meadow.Logging uses: actions/checkout@v3 with: - ref: develop + path: Meadow.Logging - name: Setup .NET uses: actions/setup-dotnet@v1 @@ -24,4 +25,4 @@ jobs: dotnet-version: 7.0.x - name: Build - run: dotnet build -c Release Source/Meadow.Logging/Meadow.Logging.sln + run: dotnet build -c Release Meadow.Logging/Source/Meadow.Logging/Meadow.Logging.sln diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml index c1511a1..42e6466 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -3,6 +3,7 @@ name: Main Build on: workflow_dispatch: pull_request: + branches: [ main ] push: branches: [ main ] @@ -16,7 +17,7 @@ jobs: - name: Checkout Meadow.Logging uses: actions/checkout@v3 with: - ref: main + path: Meadow.Logging - name: Setup .NET uses: actions/setup-dotnet@v1 @@ -24,4 +25,4 @@ jobs: dotnet-version: 7.0.x - name: Build - run: dotnet build -c Release Source/Meadow.Logging/Meadow.Logging.sln + run: dotnet build -c Release Meadow.Logging/Source/Meadow.Logging/Meadow.Logging.sln