22 lines
586 B
YAML
22 lines
586 B
YAML
|
name: Upload a Build Artifact
|
||
|
description: Upload a build artifact that can be used by subsequent workflow steps
|
||
|
|
||
|
inputs:
|
||
|
name:
|
||
|
description: Artifact name
|
||
|
default: artifact
|
||
|
path:
|
||
|
description: A file, directory or wildcard pattern that describes what to upload
|
||
|
required: true
|
||
|
retention-days:
|
||
|
description: >
|
||
|
Duration after which artifact will expire in days.
|
||
|
Minimum 1 day.
|
||
|
Maximum 90 days unless changed from the repository settings page.
|
||
|
|
||
|
runs:
|
||
|
using: composite
|
||
|
steps:
|
||
|
- name: Upload
|
||
|
run: ${{ gitea.action_path }}/entrypoint.sh
|