mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-18 03:24:05 -08:00
20 lines
494 B
YAML
20 lines
494 B
YAML
|
# Restore artifacts created by save_artifacts.
|
||
|
# Tar is used because the default actions do not preserve directory structure
|
||
|
# and file mode.
|
||
|
name: Restore artifacts
|
||
|
runs:
|
||
|
using: composite
|
||
|
steps:
|
||
|
- name: Download all workflow run artifacts
|
||
|
uses: actions/download-artifact@v3
|
||
|
with:
|
||
|
name: artifact
|
||
|
path: .artifacts
|
||
|
- run: |
|
||
|
for tar in .artifacts/*.tar
|
||
|
do
|
||
|
tar xvf $tar
|
||
|
done
|
||
|
rm -v .artifacts/*.tar
|
||
|
shell: bash
|