mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-26 19:12:10 +00:00
17 lines
378 B
YAML
17 lines
378 B
YAML
|
name: 'Build and upload distribution'
|
||
|
# Builds the action distribution an uploads as an artifact for later download
|
||
|
runs:
|
||
|
using: "composite"
|
||
|
steps:
|
||
|
- name: Build distribution
|
||
|
shell: bash
|
||
|
run: |
|
||
|
npm install
|
||
|
npm run all
|
||
|
- name: Upload distribution
|
||
|
uses: actions/upload-artifact@v2
|
||
|
with:
|
||
|
name: dist
|
||
|
path: dist/
|
||
|
|