Closed tbouffard closed 7 months ago
❌ artifact upload fails in the context of the doc-site. We publish 2 sites (one with test data and another one with real content). We upload the artifacts twice with the same name wich is no longer possible with the new version of the upload actions
Run ./.github/actions/upload-pr-built-site-artifact
Run actions/upload-artifact@v4
with:
name: site-preview-pr-676-38968c04ce5d8f30ab2dc5ae0e4842f762344dfe
path: build/site
if-no-files-found: warn
compression-level: 6
overwrite: false
env:
npm_config_cache: /home/runner/.npm
With the provided path, there will be 1186 files uploaded
Artifact name is valid!
Root directory input is valid!
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
:recycle: PR Preview 205b37e5dc0d1074eb622fd6130910256e00bd54 has been successfully destroyed since this PR has been closed.
🤖 By surge-preview
:recycle: PR Preview 205b37e5dc0d1074eb622fd6130910256e00bd54 has been successfully destroyed since this PR has been closed.
🤖 By surge-preview
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
Use the latest available and compatible versions
This also ensures that the actions run with node 20 (remove warning about running actions with the deprecated Node 16 version).
In addition