From 5aaa276688cdd829e3791fff82cae2cead6d9846 Mon Sep 17 00:00:00 2001 From: Mathieu Gamache Date: Tue, 17 Dec 2024 13:24:43 -0500 Subject: [PATCH] Update CI.yml to use dotnet version global.json + publish temp version --- .github/workflows/ci.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c823302..23a16aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,8 @@ name: CI on: pull_request: - branches: ["main"] + branches: ["main", "master"] + paths-ignore: ["*.md"] push: branches: @@ -14,9 +15,10 @@ concurrency: cancel-in-progress: true jobs: - main: + ci: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v4 with: @@ -24,7 +26,19 @@ jobs: - uses: actions/setup-dotnet@v4 with: - global-json-file: "global.json" + source-url: ${{ secrets.NUGET_GSOFTDEV_FEED_URL }} + env: + NUGET_AUTH_TOKEN: ${{ secrets.GSOFT_NUGET_API_KEY }} - run: ./Build.ps1 shell: pwsh + env: + NUGET_SOURCE: ${{ secrets.NUGET_GSOFTDEV_FEED_URL }} + NUGET_API_KEY: ${{ secrets.GSOFT_NUGET_API_KEY }} + + linearb: + needs: [ci] + uses: gsoft-inc/wl-reusable-workflows/.github/workflows/linearb-deployment.yml@main + with: + environment: development + secrets: inherit