### Bug description

When running action Render and Publish in my blog,

since version 1.3.242 (last week with v1.3.231 it was OK) I have the following error

`ERROR: File name too long (os error 36), stat '/home/runner/work/blog/blog/posts/home/runner/work/blog/blog/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbAAAAEeCAYAAADrWEC0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90b`

(this is a 70KB base64 png file.

I don't know exactly what happens.

My action file is 

```
on:
  workflow_dispatch:
  push:
    branches: main

name: Quarto Publish

jobs:
  build-deploy:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - name: Check out repository
        uses: actions/checkout@v2

      - name: Set up Quarto
        uses: quarto-dev/quarto-actions/setup@v2
        with:
          version: 'pre-release'

      - name: Render and Publish
        uses: quarto-dev/quarto-actions/publish@v2
        with:
          target: gh-pages
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```

I switched to pre-release version to get 1.3 and use code annotation.
Will switch back to stable version for now.

### Checklist

- [ ] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [ ] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [ ] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [ ] Please document the operating system you're running. If on Linux, please provide the specific distribution.
cscheid
2023-03-03T11:06:45Z
castorfou
bug
closed
ERROR: File name too long (os error 36), when rendering with v1.3.242 (v1.3.231 is OK)
https://github.com/quarto-dev/quarto-cli/issues/4613