diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 02e2263a0fa..2867559f369 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -64,8 +64,8 @@ jobs: workflow_conclusion: success name: workspace-${{ steps.strings.outputs.build-key }} search_artifacts: true - path: ${{ github.workspace }} - if_no_artifact_found: "warn" + path: ${{ steps.strings.outputs.build-output-dir }} + if_no_artifact_found: warn - name: Install Ubuntu build dependencies if: matrix.os == 'ubuntu-latest' @@ -113,5 +113,5 @@ jobs: uses: actions/upload-artifact@v3 with: name: workspace-${{ steps.strings.outputs.build-key }} - path: ${{ github.workspace }} + path: ${{ steps.strings.outputs.build-output-dir }} retention-days: 7 diff --git a/.github/workflows/gn.yml b/.github/workflows/gn.yml index 56bb508f3ec..2290fbb0459 100644 --- a/.github/workflows/gn.yml +++ b/.github/workflows/gn.yml @@ -51,8 +51,8 @@ jobs: workflow_conclusion: success name: workspace-${{ steps.strings.outputs.build-key }} search_artifacts: true - path: ${{ github.workspace }} - if_no_artifact_found: "warn" + path: ${{ github.workspace }}/${{ steps.strings.outputs.build-output-dir }} + if_no_artifact_found: warn - name: Set up checkout run: | @@ -93,5 +93,5 @@ jobs: uses: actions/upload-artifact@v3 with: name: workspace-${{ steps.strings.outputs.build-key }} - path: ${{ github.workspace }} + path: ${{ github.workspace }}/${{ steps.strings.outputs.build-output-dir }} retention-days: 7