Skip to content

Commit addd821

Browse files
Merge pull request #21 from contentstack/fix/workflow
Workflow updated
2 parents 987af3a + 8d19395 commit addd821

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3.5.3
12+
uses: actions/checkout@v4 # Recommended update to v4
1313
with:
1414
fetch-depth: 0
1515
- name: Setup Node.js
16-
uses: actions/setup-node@v3.7.0
16+
uses: actions/setup-node@v4 # Recommended update to v4
1717
with:
1818
node-version: "18.x"
1919
- name: Install dependencies
2020
run: npm install
2121
- name: Upload dist
22-
uses: actions/upload-artifact@v3.1.2
22+
uses: actions/upload-artifact@v4 # UPDATED: Changed from v3 to v4
2323
with:
2424
name: lib
2525
path: lib
@@ -30,11 +30,11 @@ jobs:
3030
needs: build
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v3.5.3
33+
uses: actions/checkout@v4 # Recommended update to v4
3434
with:
3535
fetch-depth: 0
3636
- name: Download dist
37-
uses: actions/download-artifact@v3
37+
uses: actions/download-artifact@v4 # UPDATED: Changed from v3 to v4
3838
with:
3939
name: lib
4040
path: lib
@@ -48,4 +48,4 @@ jobs:
4848
- name: Create GitHub release
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51-
run: gh release create v${{ steps.release-plugin.outputs.version }} --title "Release ${{ steps.release-plugin.outputs.version }}" --generate-notes
51+
run: gh release create v${{ steps.release-plugin.outputs.version }} --title "Release ${{ steps.release-plugin.outputs.version }}" --generate-notes

0 commit comments

Comments
 (0)