title: actions/upload-pages-artifact fails at actions/upload-artifact with "No files were found with the provided path"
body: <p>I would like to create a GitHub Workflow that builds a C++ application using emscripten and cmake, and deploys it to GitHub Pages. My Workflow job looks like this.</p>
  <pre class="lang-yaml prettyprint-override"><code>environment:
    name: github-pages
    url: ${{steps.deployment.outputs.page_url}}
  
  runs-on: ubuntu-latest
  
  container:
    image: emscripten/emsdk
    
  steps:
  - uses: actions/checkout@v3
  - run: cmake -B $GITHUB_WORKSPACE/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DEMSCRIPTEN=ON
  - run: cmake --build $GITHUB_WORKSPACE/build --config ${{env.BUILD_TYPE}}
  
  # actions/upload-pages-artifact uses this directory, but it doesn't exist in the image
  - run: mkdir -p ${{runner.temp}}
  
  - uses: actions/configure-pages@v1
  - uses: actions/upload-pages-artifact@v1
    with:
      path: $GITHUB_WORKSPACE/build
  - id: deployment
    uses: actions/deploy-pages@v1  
  </code></pre>
  <p><code>upload-pages-artifact</code> runs tar and lists all the files to be deployed in the log. When running <code>upload-artifact</code> the log reads <code>Warning: No files were found with the provided path: /__w/_temp/artifact.tar. No artifacts will be uploaded.</code>.</p>
  <p>Note that the path in the warning is different from the one provided as a parameter to <code>upload-artifact</code> (<code>path: /home/runner/work/_temp/artifact.tar</code>).</p>
  <p><code>upload-pages-artifact</code> works as expected when running without the emscripten container.</p>
  <p>I would have to either get <code>upload-pages-artifact</code> working inside the container, or somehow share the build with a second job running outside the container.</p>