Nota:
Actualmente los ejecutores hospedados por GitHub no se admiten en GitHub Enterprise Server. Puede ver más información sobre la compatibilidad futura planeada en GitHub public roadmap.
By default, GitHub stores build logs and artifacts for 90 days, and you can customize this retention period, depending on the type of repository. For more information, see Administrar los ajustes de las GitHub Actions de un repositorio.
Se requiere tener acceso de lectura en el repositorio para llevar a cabo estos pasos.
-
En GitHub, navegue hasta la página principal del repositorio.
-
En el nombre del repositorio, haz clic en Acciones.
-
En la barra lateral izquierda, da clic en el flujo de trabajo que quieras ver.
-
En la lista de ejecuciones de flujo de trabajo, haz clic en el nombre de la ejecución para ver el resumen de la ejecución de flujo de trabajo.
-
In the "Artifacts" section, click the artifact you want to download.
Nota:
Para más información sobre GitHub CLI, consulta Acerca del CLI de GitHub.
GitHub CLI will download each artifact into separate directories based on the artifact name. If only a single artifact is specified, it will be extracted into the current directory.
To download all artifacts generated by a workflow run, use the run download
subcommand. Replace run-id
with the ID of the run that you want to download artifacts from. If you don't specify a run-id
, GitHub CLI returns an interactive menu for you to choose a recent run.
gh run download RUN_ID
To download a specific artifact from a run, use the run download
subcommand. Replace run-id
with the ID of the run that you want to download artifacts from. Replace artifact-name
with the name of the artifact that you want to download.
gh run download RUN_ID -n ARTIFACT_NAME
You can specify more than one artifact.
gh run download RUN_ID> -n ARTIFACT_NAME-1 -n ARTIFACT_NAME-2
To download specific artifacts across all runs in a repository, use the run download
subcommand.
gh run download -n ARTIFACT_NAME-1 ARTIFACT_NAME-2