From 19884babf078bced1ed392168a4aed1309d9673c Mon Sep 17 00:00:00 2001 From: Henrique Graca <999396+hjgraca@users.noreply.github.com> Date: Wed, 17 Jan 2024 14:58:31 +0000 Subject: [PATCH 1/4] Update build.yml matrix dotnet8 Signed-off-by: Henrique Graca <999396+hjgraca@users.noreply.github.com> --- .github/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc25ad50..d6c6c72a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,13 +13,17 @@ defaults: jobs: build: runs-on: ubuntu-latest - + strategy: + matrix: + dotnet: [ '6.0.405', '8.0.101' ] steps: - uses: actions/checkout@v3 - - name: Setup .NET 6.0 + - name: Setup .NET ${{ matrix.dotnet }} uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a with: - dotnet-version: 6.0.405 + dotnet-version: ${{ matrix.dotnet }} + - name: Create temporary global.json + run: echo '{"sdk":{"version": "${{ steps.stepid.outputs.dotnet-version }}"}}' > ./global.json - name: Install solution dependencies run: dotnet restore - name: Build From 7f380d281f4cd0138e30b09851fe07692191804d Mon Sep 17 00:00:00 2001 From: Henrique Graca <999396+hjgraca@users.noreply.github.com> Date: Wed, 17 Jan 2024 15:23:18 +0000 Subject: [PATCH 2/4] oh yaml formatting Signed-off-by: Henrique Graca <999396+hjgraca@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d6c6c72a..01434b20 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: with: dotnet-version: ${{ matrix.dotnet }} - name: Create temporary global.json - run: echo '{"sdk":{"version": "${{ steps.stepid.outputs.dotnet-version }}"}}' > ./global.json + run: echo '{"sdk":{"version":"${{ steps.stepid.outputs.dotnet-version }}"}}' > ./global.json - name: Install solution dependencies run: dotnet restore - name: Build From bfe7aaa7fcca4e3eb193ad473ee4a61043922ab1 Mon Sep 17 00:00:00 2001 From: Henrique Graca <999396+hjgraca@users.noreply.github.com> Date: Wed, 17 Jan 2024 15:33:05 +0000 Subject: [PATCH 3/4] add stepid Signed-off-by: Henrique Graca <999396+hjgraca@users.noreply.github.com> --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 01434b20..2487217a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,10 +20,11 @@ jobs: - uses: actions/checkout@v3 - name: Setup .NET ${{ matrix.dotnet }} uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a + id: setup with: dotnet-version: ${{ matrix.dotnet }} - name: Create temporary global.json - run: echo '{"sdk":{"version":"${{ steps.stepid.outputs.dotnet-version }}"}}' > ./global.json + run: echo '{"sdk":{"version":"${{ steps.setup.outputs.dotnet-version }}"}}' > ./global.json - name: Install solution dependencies run: dotnet restore - name: Build From 5d3c0b342a9fd82580192f9ccda2fb9ebf0ed010 Mon Sep 17 00:00:00 2001 From: Henrique Graca <999396+hjgraca@users.noreply.github.com> Date: Wed, 17 Jan 2024 15:39:44 +0000 Subject: [PATCH 4/4] Update Directory.Build.props - remove target framework Signed-off-by: Henrique Graca <999396+hjgraca@users.noreply.github.com> --- libraries/src/Directory.Build.props | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/src/Directory.Build.props b/libraries/src/Directory.Build.props index 4d4afc36..4ed23fdd 100644 --- a/libraries/src/Directory.Build.props +++ b/libraries/src/Directory.Build.props @@ -1,7 +1,6 @@ - net6.0 default 0.0.1 @@ -26,4 +25,4 @@ - \ No newline at end of file +