From 43081e47420dd6568552d4e03db7d0d30459dc18 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 13 May 2024 12:46:05 +0200 Subject: [PATCH] Update workflow --- .github/workflows/publish.yml | 8 ++++++-- .github/workflows/windows.yml | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2da7ccf..36dbd0b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,7 +3,7 @@ on: push: branches: - master - - newbuild + - xbim_v6_dev paths: - RELEASE_NOTES.md - .github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Dotnet uses: actions/setup-dotnet@v3 with: @@ -22,6 +22,10 @@ jobs: run: dotnet tool restore - name: Restore run: dotnet paket restore + - name: Build + run: dotnet build src\Aardvark.Data.Ifc.sln + - name: Test + run: dotnet test src\Aardvark.Data.Ifc.sln - name: Pack env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4a69546..c4de036 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -15,10 +15,14 @@ jobs: runs-on: windows-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Dotnet uses: actions/setup-dotnet@v3 with: global-json-file: global.json - - name: build + - name: Add Paket credentials + run: dotnet tool restore && dotnet paket config add-token https://nuget.pkg.github.com/aardvark-platform/index.json ${{ secrets.GITHUB_TOKEN }} + - name: Build run: .\build.cmd + - name: Test + run: dotnet test src\Aardvark.Data.Ifc.sln