From 77a5f8b5880e5d31d565184169dd80557e7e8370 Mon Sep 17 00:00:00 2001 From: aparnajyothi-y <147696841+aparnajyothi-y@users.noreply.github.com> Date: Fri, 9 Aug 2024 12:12:49 +0530 Subject: [PATCH 1/2] Update build-python-packages.yml --- .github/workflows/build-python-packages.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-python-packages.yml b/.github/workflows/build-python-packages.yml index 7c8e3966..ede7a15b 100644 --- a/.github/workflows/build-python-packages.yml +++ b/.github/workflows/build-python-packages.yml @@ -41,7 +41,6 @@ jobs: run: | [String[]]$configurations = "${{ inputs.platforms || 'ubuntu-20.04,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64,macos-12,macos-14_arm64,windows-2019_x64,windows-2019_x86,windows-2019_arm64' }}".Split(",").Trim() $matrix = @() - foreach ($configuration in $configurations) { $parts = $configuration.Split("_") $os = $parts[0] @@ -69,7 +68,6 @@ jobs: } } echo "matrix=$($matrix | ConvertTo-Json -Compress -AsArray)" >> $env:GITHUB_OUTPUT - build_python: needs: generate_matrix strategy: @@ -102,7 +100,9 @@ jobs: # Install 7-Zip choco install 7zip -y echo "C:\ProgramData\chocolatey\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 - + - name: Disable needrestart prompts + if: matrix.os == 'setup-actions-ubuntu24-arm64-2-core' + run: echo 'NEEDRESTART_MODE=a' | sudo tee /etc/needrestart/needrestart.conf - name: Check out repository code uses: actions/checkout@v4 @@ -113,7 +113,6 @@ jobs: run: | ./builders/build-python.ps1 -Version $env:VERSION ` -Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }} - - name: Publish artifact uses: actions/upload-artifact@v4 with: From 15da69164aa28c76eca4bf4fc9e0b87fb790184d Mon Sep 17 00:00:00 2001 From: aparnajyothi-y <147696841+aparnajyothi-y@users.noreply.github.com> Date: Tue, 13 Aug 2024 18:48:31 +0530 Subject: [PATCH 2/2] Update build-python-packages.yml --- .github/workflows/build-python-packages.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-python-packages.yml b/.github/workflows/build-python-packages.yml index ede7a15b..b9a4f821 100644 --- a/.github/workflows/build-python-packages.yml +++ b/.github/workflows/build-python-packages.yml @@ -41,6 +41,7 @@ jobs: run: | [String[]]$configurations = "${{ inputs.platforms || 'ubuntu-20.04,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64,macos-12,macos-14_arm64,windows-2019_x64,windows-2019_x86,windows-2019_arm64' }}".Split(",").Trim() $matrix = @() + foreach ($configuration in $configurations) { $parts = $configuration.Split("_") $os = $parts[0] @@ -68,6 +69,7 @@ jobs: } } echo "matrix=$($matrix | ConvertTo-Json -Compress -AsArray)" >> $env:GITHUB_OUTPUT + build_python: needs: generate_matrix strategy: @@ -100,6 +102,7 @@ jobs: # Install 7-Zip choco install 7zip -y echo "C:\ProgramData\chocolatey\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 + - name: Disable needrestart prompts if: matrix.os == 'setup-actions-ubuntu24-arm64-2-core' run: echo 'NEEDRESTART_MODE=a' | sudo tee /etc/needrestart/needrestart.conf @@ -113,6 +116,7 @@ jobs: run: | ./builders/build-python.ps1 -Version $env:VERSION ` -Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }} + - name: Publish artifact uses: actions/upload-artifact@v4 with: