gradle-build-action/.github/actions/build-dist/action.yml

21 lines
481 B
YAML
Raw Normal View History

name: 'Build and upload distribution'
# Builds the action distribution an uploads as an artifact for later download
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
2022-08-22 20:24:42 +00:00
npm run build
- name: Upload distribution
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/