mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
unique-ify name psh, who needs loops Folder management Extracts into current path Co-authored-by: Alan Rominger <arominge@redhat.com>
20 lines
550 B
YAML
20 lines
550 B
YAML
name: Upload logs
|
|
description: Upload logs from `make docker-compose` devel environment to GitHub as an artifact
|
|
inputs:
|
|
log-filename:
|
|
description: "*Unique* name of the log file"
|
|
required: true
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Get AWX logs
|
|
shell: bash
|
|
run: |
|
|
docker logs tools_awx_1 > ${{ inputs.log-filename }}
|
|
|
|
- name: Upload AWX logs as artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: docker-compose-logs-${{ inputs.log-filename }}
|
|
path: ${{ inputs.log-filename }}
|