mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-07-01 11:35:28 +02:00
Remove node warnings from workflows
- Use setup-node to control Node version used to build - Use Node20 compatible actions in custom actions
This commit is contained in:
parent
f1361c71c2
commit
75b3db10df
3 changed files with 10 additions and 3 deletions
8
.github/actions/build-dist/action.yml
vendored
8
.github/actions/build-dist/action.yml
vendored
|
@ -3,14 +3,18 @@ name: 'Build and upload distribution'
|
|||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
- name: Build distribution
|
||||
shell: bash
|
||||
run: |
|
||||
npm -v
|
||||
node -v
|
||||
npm install
|
||||
npm run build
|
||||
- name: Upload distribution
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dist
|
||||
path: dist/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue