Skip to content

Commit

Permalink
actions: upload-artifact en v4
Browse files Browse the repository at this point in the history
  • Loading branch information
elias75015 committed Dec 26, 2024
1 parent fe1156c commit d067108
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-itowns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,28 @@ 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/itowns

- 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/itowns

# FIXME artifacts bundles and binary are the same !?
- name: Upload Bundles 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: bundles
path: bundles.zip

- name: Upload Package artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: package
path: build/scripts/release/geoportal-extensions-itowns
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- name: Upload ChangeLog 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: changelog
path: DRAFT_CHANGELOG_${{ env.LIBRARY }}.md
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-leaflet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,28 @@ 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/leaflet

- 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/leaflet

# FIXME artifacts bundles and binary are the same !?
- name: Upload Bundles 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: bundles
path: bundles.zip

- name: Upload Package artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: package
path: build/scripts/release/geoportal-extensions-leaflet
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- name: Upload ChangeLog 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: changelog
path: DRAFT_CHANGELOG_${{ env.LIBRARY }}.md
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-ol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,28 @@ 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/openlayers

- 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/openlayers

# FIXME artifacts bundles and binary are the same !?
- name: Upload Bundles 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: bundles
path: bundles.zip

- name: Upload Package artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: package
path: build/scripts/release/geoportal-extensions-openlayers
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
- name: Upload ChangeLog 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: changelog
path: DRAFT_CHANGELOG_${{ env.LIBRARY }}.md
Expand Down
1 change: 1 addition & 0 deletions DRAFT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +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

* [Deprecated]

Expand Down

0 comments on commit d067108

Please sign in to comment.