mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
20 lines
538 B
YAML
20 lines
538 B
YAML
name: 'Ionic Framework Archive Upload'
|
|
description: 'Compresses and uploads an archive to be reused across jobs'
|
|
inputs:
|
|
paths:
|
|
description: 'Paths to files or directories to archive'
|
|
output:
|
|
description: 'Output file name'
|
|
name:
|
|
description: 'Archive name'
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: Create Archive
|
|
run: zip -q -r ${{ inputs.output }} ${{ inputs.paths }}
|
|
shell: bash
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: ${{ inputs.name }}
|
|
path: ${{ inputs.output }}
|