Skip to content

Commit

Permalink
maj version github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lowzonenose committed Nov 17, 2024
1 parent 768c07d commit fd3d175
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use nodejs
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '12.x'

Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use nodejs
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '12.x'

Expand Down Expand Up @@ -48,35 +48,35 @@ jobs:
- name: Upload JSDoc artifacts
if: github.event_name == 'push' && contains(github.ref, '/tags/') # Only for tags !
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jsdoc
path: jsdoc

- name: Upload Binary artifacts
if: github.event_name == 'push' && contains(github.ref, '/tags/') # Only for tags !
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: dist

- name: Upload Bundles artifacts # FIXME inutile ?
if: github.event_name == 'push' && contains(github.ref, '/tags/') # Only for tags !
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: bundles
path: bundles.zip

- name: Upload Reporter Coverage artifacts
if: github.event_name == 'push' && contains(github.ref, '/tags/') # Only for tags !
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage/lcov-report

- name: Upload Reporter Test artifacts
if: github.event_name == 'push' && contains(github.ref, '/tags/') # Only for tags !
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: test-report
path: test-report
Expand All @@ -88,7 +88,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: IGNF/geoportal-access-lib
ref: gh-pages
Expand All @@ -106,7 +106,7 @@ jobs:
mkdir ${{ steps.get_version.outputs.VERSION }}
- name: Download JSDoc artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: jsdoc
path: tmp/jsdoc
Expand All @@ -117,7 +117,7 @@ jobs:
cp -r tmp/jsdoc ${{ steps.get_version.outputs.VERSION }}
- name: Download bundles artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: dist
path: tmp/dist
Expand All @@ -133,7 +133,7 @@ jobs:
ln -s ${{ steps.get_version.outputs.VERSION }} latest
- name: Download coverage artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: coverage
path: tmp/coverage
Expand All @@ -144,7 +144,7 @@ jobs:
cp -r tmp/coverage current
- name: Download test-report artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: test-report
path: tmp/test-report
Expand All @@ -170,7 +170,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Create Release
id: create_release
Expand All @@ -185,12 +185,12 @@ jobs:
prerelease: false

- name: Download bundles artifacts # FIXME inutile ?
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: bundles

- name: Download bundles artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: dist

Expand Down Expand Up @@ -241,20 +241,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Initialize
run: |
mkdir dist
- name: Download bundles artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: dist
path: dist

- name: Use registry npm
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
Expand All @@ -272,7 +272,7 @@ jobs:
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: IGNF/geoportal-access-lib-samples
ref: master
Expand Down

0 comments on commit fd3d175

Please sign in to comment.