From f0325bda4cf3b6dac41bc2d23d79603ab56ef19b Mon Sep 17 00:00:00 2001 From: elias couppe Date: Thu, 26 Dec 2024 14:39:47 +0100 Subject: [PATCH] actions : upgrade checkout et download en v4 --- .github/workflows/build.yml | 2 +- .github/workflows/release-itowns.yml | 20 ++++++++++---------- .github/workflows/release-leaflet.yml | 22 +++++++++++----------- .github/workflows/release-ol.yml | 22 +++++++++++----------- DRAFT_CHANGELOG.md | 12 +++++++++++- build/howto-github-actions.md | 4 ++-- 6 files changed, 46 insertions(+), 36 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index decb5146b..6caadf42b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use nodejs uses: actions/setup-node@v1 diff --git a/.github/workflows/release-itowns.yml b/.github/workflows/release-itowns.yml index bfa3d5d75..d6a6395fd 100644 --- a/.github/workflows/release-itowns.yml +++ b/.github/workflows/release-itowns.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use nodejs uses: actions/setup-node@v1 @@ -74,7 +74,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: IGNF/geoportal-extensions ref: gh-pages @@ -91,7 +91,7 @@ jobs: mkdir -p ${{ steps.get_tagname.outputs.TAGNAME }}/dist/ - name: Download JSDoc artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: jsdoc path: tmp/jsdoc/itowns @@ -102,7 +102,7 @@ jobs: cp -r tmp/jsdoc/itowns/* ${{ steps.get_tagname.outputs.TAGNAME }}/jsdoc/ - name: Download Binary artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: dist path: tmp/dist/itowns @@ -136,7 +136,7 @@ jobs: sudo apt-get install perl-base libjson-perl - name: Checkout # checkout repository to get DRAFT_CHANGELOG.md ! - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get the version id: get_version @@ -174,7 +174,7 @@ jobs: prerelease: false - name: Download bundles artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: bundles @@ -194,7 +194,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Initialize run: | @@ -213,7 +213,7 @@ jobs: # scope: '@ignf-geoportal' - name: Download Package artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: package path: package @@ -231,14 +231,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: IGNF/geoportal-extensions ref: develop token: ${{ secrets.ADMIN_GEOPORTAL_TOKEN }} - name: Download ChangeLog artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: changelog diff --git a/.github/workflows/release-leaflet.yml b/.github/workflows/release-leaflet.yml index 7b0d18072..2020b9390 100644 --- a/.github/workflows/release-leaflet.yml +++ b/.github/workflows/release-leaflet.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use nodejs uses: actions/setup-node@v1 @@ -74,7 +74,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: IGNF/geoportal-extensions ref: gh-pages @@ -91,7 +91,7 @@ jobs: mkdir -p ${{ steps.get_tagname.outputs.TAGNAME }}/dist/ - name: Download JSDoc artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: jsdoc path: tmp/jsdoc/leaflet @@ -102,7 +102,7 @@ jobs: cp -r tmp/jsdoc/leaflet/* ${{ steps.get_tagname.outputs.TAGNAME }}/jsdoc/ - name: Download Binary artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: dist path: tmp/dist/leaflet @@ -136,7 +136,7 @@ jobs: sudo apt-get install perl-base libjson-perl - name: Checkout # checkout repository to get DRAFT_CHANGELOG.md ! - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get the version id: get_version @@ -174,7 +174,7 @@ jobs: prerelease: false - name: Download bundles artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: bundles @@ -194,7 +194,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Initialize run: | @@ -213,7 +213,7 @@ jobs: # scope: '@ignf-geoportal' - name: Download Package artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: package path: package @@ -231,14 +231,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: IGNF/geoportal-extensions ref: develop token: ${{ secrets.ADMIN_GEOPORTAL_TOKEN }} - name: Download ChangeLog artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: changelog @@ -274,7 +274,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: IGNF/geoportal-extensions-leaflet-samples ref: master diff --git a/.github/workflows/release-ol.yml b/.github/workflows/release-ol.yml index 9900083f5..607110319 100644 --- a/.github/workflows/release-ol.yml +++ b/.github/workflows/release-ol.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use nodejs uses: actions/setup-node@v1 @@ -74,7 +74,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: IGNF/geoportal-extensions ref: gh-pages @@ -91,7 +91,7 @@ jobs: mkdir -p ${{ steps.get_tagname.outputs.TAGNAME }}/dist/ - name: Download JSDoc artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: jsdoc path: tmp/jsdoc/openlayers @@ -102,7 +102,7 @@ jobs: cp -r tmp/jsdoc/openlayers/* ${{ steps.get_tagname.outputs.TAGNAME }}/jsdoc/ - name: Download Binary artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: dist path: tmp/dist/openlayers @@ -138,7 +138,7 @@ jobs: sudo apt-get install perl-base libjson-perl - name: Checkout # checkout repository to get DRAFT_CHANGELOG.md ! - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get the version id: get_version @@ -176,7 +176,7 @@ jobs: prerelease: false - name: Download bundles artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: bundles @@ -196,7 +196,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Initialize run: | @@ -215,7 +215,7 @@ jobs: # scope: '@ignf-geoportal' - name: Download Package artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: package path: package @@ -233,14 +233,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: IGNF/geoportal-extensions ref: develop token: ${{ secrets.ADMIN_GEOPORTAL_TOKEN }} - name: Download ChangeLog artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: changelog @@ -276,7 +276,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: IGNF/geoportal-extensions-openlayers-samples ref: master diff --git a/DRAFT_CHANGELOG.md b/DRAFT_CHANGELOG.md index 5ed5f635f..c43a56d9f 100644 --- a/DRAFT_CHANGELOG.md +++ b/DRAFT_CHANGELOG.md @@ -18,7 +18,7 @@ Mise à jour de la bibliothèque d'accès et corrections diverses * [Changed] - mise à jour de la bibliothèque d'accès en version 3.4.6 - - upgrade de upload-articfact en v4 + - upgrade de download-artifact et upload-articfact en v4 * [Deprecated] @@ -48,12 +48,17 @@ Mise à jour de la bibliothèque d'accès et corrections diverses * [Changed] + - mise à jour de la bibliothèque d'accès en version 3.4.6 + - upgrade de download-artifact et upload-articfact en v4 + * [Deprecated] * [Removed] * [Fixed] + - Coquille dans la config webpack (#382) + * [Security] --- @@ -73,12 +78,17 @@ Mise à jour de la bibliothèque d'accès et corrections diverses * [Changed] + - mise à jour de la bibliothèque d'accès en version 3.4.6 + - upgrade de download-artifact et upload-articfact en v4 + * [Deprecated] * [Removed] * [Fixed] + - Coquille dans la config webpack (#382) + * [Security] --- diff --git a/build/howto-github-actions.md b/build/howto-github-actions.md index f3326d6e2..3b4e55345 100644 --- a/build/howto-github-actions.md +++ b/build/howto-github-actions.md @@ -74,7 +74,7 @@ jobs: ``` - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use nodejs uses: actions/setup-node@v1 @@ -150,7 +150,7 @@ https://github.com/actions/checkout#Checkout-a-different-branch ``` - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: my-org/my-tools ref: my-tools