GitHub Action: Bump actions/upload-artifact from 4 to 6

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
diff --git a/.github/workflows/BuildPlatform.yml b/.github/workflows/BuildPlatform.yml
index c2b64e2..dc29a52 100644
--- a/.github/workflows/BuildPlatform.yml
+++ b/.github/workflows/BuildPlatform.yml
@@ -103,7 +103,7 @@
         name: 'Build Platform'

 

       - name: Upload Platform Build Logs

-        uses: actions/upload-artifact@v4

+        uses: actions/upload-artifact@v6

         with:

           name: Platform Build Logs ${{ inputs.tool-chain }} ${{ inputs.target }} ${{ inputs.extra-build-args }}

           path: |

diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 348a863..2b57c3b 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -150,7 +150,7 @@
       run: stuart_setup -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2022

 

     - name: Upload Setup Log As An Artifact

-      uses: actions/upload-artifact@v4

+      uses: actions/upload-artifact@v6

       if: (success() || failure()) && steps.get_ci_file_operations.outputs.setup_supported == 'true'

       with:

         name: ${{ matrix.Package }}-${{ steps.convert_arch_hyphen.outputs.arch_list }}-Setup-Log

@@ -164,7 +164,7 @@
       run: stuart_ci_setup -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2022

 

     - name: Upload CI Setup Log As An Artifact

-      uses: actions/upload-artifact@v4

+      uses: actions/upload-artifact@v6

       if: (success() || failure()) && steps.get_ci_file_operations.outputs.ci_setup_supported == 'true'

       with:

         name: ${{ matrix.Package }}-${{ steps.convert_arch_hyphen.outputs.arch_list }}-CI-Setup-Log

@@ -177,7 +177,7 @@
       run: stuart_update -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2022

 

     - name: Upload Update Log As An Artifact

-      uses: actions/upload-artifact@v4

+      uses: actions/upload-artifact@v6

       if: success() || failure()

       with:

         name: ${{ matrix.Package }}-${{ steps.convert_arch_hyphen.outputs.arch_list }}-Update-Log

@@ -293,7 +293,7 @@
         delete_dirs(build_path)

 

     - name: Upload Build Logs As An Artifact

-      uses: actions/upload-artifact@v4

+      uses: actions/upload-artifact@v6

       if: success() || failure()

       with:

         name: ${{ matrix.Package }}-${{ steps.convert_arch_hyphen.outputs.arch_list }}-Build-Logs

@@ -338,7 +338,7 @@
                 print(f'upload_sarif_file=false', file=fh)

 

     - name: Upload CodeQL Results (SARIF) As An Artifact

-      uses: actions/upload-artifact@v4

+      uses: actions/upload-artifact@v6

       if: steps.env_data.outputs.upload_sarif_file == 'true'

       with:

         name: ${{ matrix.Package }}-${{ steps.convert_arch_hyphen.outputs.arch_list }}-CodeQL-SARIF