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