bonitasoft / bonita-documentation-site

The sources of the Bonita Documentation site
https://documentation.bonitasoft.com/
GNU General Public License v2.0
9 stars 5 forks source link

ci: bump actions used in composite actions #676

Closed tbouffard closed 7 months ago

tbouffard commented 7 months ago

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

tbouffard commented 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

See https://github.com/bonitasoft/bonita-documentation-site/actions/runs/8016859893/job/21899620556?pr=676.

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
github-actions[bot] commented 7 months ago

:recycle: PR Preview 205b37e5dc0d1074eb622fd6130910256e00bd54 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

github-actions[bot] commented 7 months ago

:recycle: PR Preview 205b37e5dc0d1074eb622fd6130910256e00bd54 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud