mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-18 03:24:05 -08:00
fc1a36d476
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
19 lines
515 B
YAML
19 lines
515 B
YAML
# To preserve the directory structure, save an additional empty file at
|
|
# the root of the working directory. GitHub action uses the least common
|
|
# ancestor of all the search paths as the root directory for artefacts.
|
|
name: Save artefacts
|
|
inputs:
|
|
directory:
|
|
type: string
|
|
description: Path of the directory to save
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- run: touch .keep
|
|
shell: bash
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
path: |
|
|
${{ inputs.directory }}
|
|
.keep
|