{"id":15792058,"url":"https://github.com/levonet/action-download-last-artifact","last_synced_at":"2025-03-31T18:50:07.189Z","repository":{"id":53019819,"uuid":"355672866","full_name":"levonet/action-download-last-artifact","owner":"levonet","description":"Downloads the last created artifact by name, regardless of which workflow or branch it was created in","archived":false,"fork":false,"pushed_at":"2021-04-20T20:46:46.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-11T23:05:44.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/levonet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-07T20:23:27.000Z","updated_at":"2021-04-20T20:46:48.000Z","dependencies_parsed_at":"2022-08-24T00:50:57.723Z","dependency_job_id":null,"html_url":"https://github.com/levonet/action-download-last-artifact","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Faction-download-last-artifact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Faction-download-last-artifact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Faction-download-last-artifact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levonet%2Faction-download-last-artifact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levonet","download_url":"https://codeload.github.com/levonet/action-download-last-artifact/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523896,"owners_count":20791444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T23:01:21.953Z","updated_at":"2025-03-31T18:50:07.168Z","avatar_url":"https://github.com/levonet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action: Download last artifact\n\nDownloads the last created artifact by name, regardless of which workflow or branch it was created in.\n\nWhat is it for? For example:\n- You put artifacts in the base branch, and use it in Pull Requests\n- Or create artifacts during a release with a tag name in the artifact name.\n  Then from the next runs you can download the artifact by name.\n\n## Example usage\n\n```yml\nsteps:\n- uses: actions/checkout@v2\n\n- name: Download last artifact\n  uses: blablacar/action-download-last-artifact@master\n  with:\n    name: my-artifact\n\n- name: Display structure of downloaded files\n  run: ls -R\n```\n\n## Inputs\n\n### `name`\n\n**Required** Artifact name.\n\n### `path`\n\nOptional. Destination path.\nBy default, the artifact is stored in the current directory.\n\n### `token`\n\nPersonal access token (PAT) used to fetch the repository. The PAT is configured\nwith the local git config, which enables your scripts to run authenticated git\ncommands. The post-job step removes the PAT.\n\nWe recommend using a service account with the least permissions necessary.\nAlso when generating a new PAT, select the least scopes necessary.\n\n[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)\n\n# License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevonet%2Faction-download-last-artifact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevonet%2Faction-download-last-artifact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevonet%2Faction-download-last-artifact/lists"}