mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
0f7187f543
* fix: scope source daemon state by worktree * docs: clarify worktree daemon state tradeoffs * ci: harden Apple runner cache * chore: keep daemon state helper internal * ci: validate Apple runner cache restores * ci: simplify Apple runner cache setup
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
name: "Upload Agent Device Artifacts"
|
|
description: "Upload shared agent-device diagnostics, session logs, and replay artifacts"
|
|
|
|
inputs:
|
|
artifact-name:
|
|
description: "Artifact name"
|
|
required: true
|
|
agent-home-dir:
|
|
description: "Resolved agent-device home directory"
|
|
required: true
|
|
runner-derived-path:
|
|
description: "Optional Apple runner derived data path to upload cache metadata and Xcode logs"
|
|
required: false
|
|
default: ".agent-device-no-runner-derived"
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
|
with:
|
|
name: ${{ inputs.artifact-name }}
|
|
if-no-files-found: ignore
|
|
path: |
|
|
${{ inputs.agent-home-dir }}/daemon.log
|
|
${{ inputs.agent-home-dir }}/logs/**
|
|
${{ inputs.agent-home-dir }}/sessions/**
|
|
${{ inputs.runner-derived-path }}/.agent-device-runner-cache.json
|
|
${{ inputs.runner-derived-path }}/Logs/**
|
|
test/artifacts/**
|
|
test/screenshots/**
|