From d9d9b2cf905c7c8c4a025ca454345d73c8d397e8 Mon Sep 17 00:00:00 2001 From: aparnajyothi-y <147696841+aparnajyothi-y@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:21:55 +0530 Subject: [PATCH] Update build-tool-packages.yml --- .github/workflows/build-tool-packages.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-tool-packages.yml b/.github/workflows/build-tool-packages.yml index 392c4b6..ef08a00 100644 --- a/.github/workflows/build-tool-packages.yml +++ b/.github/workflows/build-tool-packages.yml @@ -121,11 +121,11 @@ jobs: arch: arm64 - os: windows-latest platform: win32 - arch: x64 + steps: - uses: actions/checkout@v3 with: - submodules: true + submodules: true - name: Fully cleanup the toolcache directory before testing run: ./helpers/clean-toolcache.ps1 -ToolName "${{ inputs.tool-name }}" @@ -133,20 +133,8 @@ jobs: - name: Download artifact uses: actions/download-artifact@v3 with: - name: ${{ env.ARTIFACT_NAME }} path: ${{ runner.temp }} - - name: Set env - run: echo "RUNNER_ARCH=$(uname -m)" >> $GITHUB_ENV - - - name: Set ARTIFACT_NAME - shell: pwsh - run: | - if ("${{ matrix.platform }}" -eq "darwin" -and "${env:RUNNER_ARCH}" -eq "arm64") { - echo "ARTIFACT_NAME=${{ inputs.tool-name }}-${{ inputs.tool-version }}-${{ matrix.platform }}-arm64" | Out-File -Append -Encoding utf8 -FilePath $env:GITHUB_ENV - } else { - echo "ARTIFACT_NAME=${{ inputs.tool-name }}-${{ inputs.tool-version }}-${{ matrix.platform }}-x64" | Out-File -Append -Encoding utf8 -FilePath $env:GITHUB_ENV - } - name: Extract files run: | if ('${{ matrix.platform }}' -eq 'win32') {