From e4f44a3c956f7554f35f8244314f209a3ac6ab1a Mon Sep 17 00:00:00 2001 From: OluwatobiAwe <114475132+OluwatobiAwe@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:12:01 +0000 Subject: [PATCH 1/6] Update continuous-integration-workflow.yml ICU (International Components for Unicode) is missing on the ubuntu-latest GitHub Actions runner. The ICU package is necessary for globalization support when running .NET Core applications. The newer Ubuntu versions may not have the required ICU package installed by default. --- .github/workflows/continuous-integration-workflow.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index c01cb66..592d1ec 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -22,6 +22,9 @@ jobs: with: dotnet-version: ${{ matrix.dotnet-version }} + - name: Install ICU library + run: sudo apt-get update && sudo apt-get install -y libicu-dev + - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0.9.7 with: From 0ffe7ad1621d5341249e6081e3c5a6d25992840e Mon Sep 17 00:00:00 2001 From: OluwatobiAwe <114475132+OluwatobiAwe@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:20:29 +0000 Subject: [PATCH 2/6] Update continuous-integration-workflow.yml --- .github/workflows/continuous-integration-workflow.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 592d1ec..b33e001 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -25,6 +25,9 @@ jobs: - name: Install ICU library run: sudo apt-get update && sudo apt-get install -y libicu-dev + - name: Enable Invariant Globalization + run: echo "DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1" >> $GITHUB_ENV + - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0.9.7 with: From 0fcce1fcfd53d5c07378ae6be29d8c97bc55bcab Mon Sep 17 00:00:00 2001 From: OluwatobiAwe <114475132+OluwatobiAwe@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:23:41 +0000 Subject: [PATCH 3/6] Update continuous-integration-workflow.yml --- .github/workflows/continuous-integration-workflow.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index b33e001..262a413 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -17,17 +17,17 @@ jobs: with: fetch-depth: 0 - - name: Setup .NET Core SDK 60 - uses: actions/setup-dotnet@v1 - with: - dotnet-version: ${{ matrix.dotnet-version }} - - name: Install ICU library run: sudo apt-get update && sudo apt-get install -y libicu-dev - name: Enable Invariant Globalization run: echo "DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1" >> $GITHUB_ENV + - name: Setup .NET Core SDK 60 + uses: actions/setup-dotnet@v1 + with: + dotnet-version: ${{ matrix.dotnet-version }} + - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0.9.7 with: From 565cc02e01d8dc4cd322b095aaae34e3ab3add1f Mon Sep 17 00:00:00 2001 From: OluwatobiAwe <114475132+OluwatobiAwe@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:27:33 +0000 Subject: [PATCH 4/6] Update continuous-integration-workflow.yml --- .github/workflows/continuous-integration-workflow.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 262a413..d58bddb 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -20,6 +20,11 @@ jobs: - name: Install ICU library run: sudo apt-get update && sudo apt-get install -y libicu-dev + - name: Install required libssl version + run: | + sudo apt-get update + sudo apt-get install -y libssl1.1 + - name: Enable Invariant Globalization run: echo "DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1" >> $GITHUB_ENV From 18dd4d29880e6f6da4df2297ec91d0908401e6f7 Mon Sep 17 00:00:00 2001 From: OluwatobiAwe <114475132+OluwatobiAwe@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:31:11 +0000 Subject: [PATCH 5/6] Update continuous-integration-workflow.yml --- .github/workflows/continuous-integration-workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index d58bddb..b8c5135 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -20,10 +20,10 @@ jobs: - name: Install ICU library run: sudo apt-get update && sudo apt-get install -y libicu-dev - - name: Install required libssl version + - name: Install libssl1.1 manually run: | - sudo apt-get update - sudo apt-get install -y libssl1.1 + wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb + sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb - name: Enable Invariant Globalization run: echo "DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1" >> $GITHUB_ENV From 15069e17f66a6a8db51a854ab019f13e17f53e95 Mon Sep 17 00:00:00 2001 From: OluwatobiAwe <114475132+OluwatobiAwe@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:34:52 +0000 Subject: [PATCH 6/6] Update continuous-integration-workflow.yml --- .github/workflows/continuous-integration-workflow.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index b8c5135..dec01a8 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -6,7 +6,7 @@ jobs: BUILD_CONFIG: 'Release' SOLUTION: 'NHSUKViewComponents.sln' name: Build and publish package - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 permissions: packages: write strategy: @@ -20,14 +20,6 @@ jobs: - name: Install ICU library run: sudo apt-get update && sudo apt-get install -y libicu-dev - - name: Install libssl1.1 manually - run: | - wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb - sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb - - - name: Enable Invariant Globalization - run: echo "DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1" >> $GITHUB_ENV - - name: Setup .NET Core SDK 60 uses: actions/setup-dotnet@v1 with: