mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-27 02:06:19 +08: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/
|
||
|
|