Skip to content

Commit 782cb08

Browse files
authored
Merge pull request #70 from ezeep/feature/update-actions/upload-artifact
updated the actions/upload-artifact because it uses a deprecated version
2 parents a6866bd + f4edf57 commit 782cb08

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/node.js.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
steps:
3131

3232
- name: Checkout main branch
33-
uses: actions/checkout@v2
33+
uses: actions/checkout@v4
3434

3535
- name: Setup Node.js ${{ matrix.node-version }}
36-
uses: actions/setup-node@v2
36+
uses: actions/setup-node@v4
3737
with:
3838
node-version: ${{ matrix.node-version }}
3939
registry-url: "${{ env.NPM_REGISTRY }}"
@@ -55,13 +55,13 @@ jobs:
5555
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5656

5757
- name: Upload npm artifact
58-
uses: actions/upload-artifact@v2
58+
uses: actions/upload-artifact@v4
5959
with:
6060
path: ${{ env.DIST_PATH }}
6161
name: ${{ env.ARTIFACT_NAME }}
6262

6363
- name: Upload ng directives artifacts
64-
uses: actions/upload-artifact@v2
64+
uses: actions/upload-artifact@v4
6565
with:
6666
path: ${{ env.DIST_PATH_NG }}
6767
name: ${{ env.ARTIFACT_NAME_NG }}
@@ -95,7 +95,7 @@ jobs:
9595
steps:
9696

9797
- name: Checkout angular branch
98-
uses: actions/checkout@v2
98+
uses: actions/checkout@v4
9999
with:
100100
ref: ngx-ezeep-js
101101

@@ -106,13 +106,13 @@ jobs:
106106
version: "${{ env.MODULE_VERSION }}"
107107

108108
- name: download angular build artifact
109-
uses: actions/download-artifact@v2
109+
uses: actions/download-artifact@v4
110110
with:
111111
name: ng-directives.zip
112112
path: ezeep-js-angular/projects/ngx-ezeep-js/src/lib
113113

114114
- name: Setup Node.js ${{ matrix.node-version }}
115-
uses: actions/setup-node@v2
115+
uses: actions/setup-node@v4
116116
with:
117117
node-version: ${{ matrix.node-version }}
118118
registry-url: "${{ env.NPM_REGISTRY }}"
@@ -141,7 +141,7 @@ jobs:
141141
steps:
142142

143143
- name: Download npm artifact
144-
uses: actions/download-artifact@v2
144+
uses: actions/download-artifact@v4
145145
with:
146146
name: ${{ env.ARTIFACT_NAME }}
147147
path: "artifacts/v${{ env.MODULE_VERSION }}"

0 commit comments

Comments
 (0)