{"id":7744576,"name":"reecetech/transfer-action","ecosystem":"actions","description":"This action transfers data to/from artefact storage\n","homepage":null,"licenses":"unlicense","normalized_licenses":["Unlicense"],"repository_url":"https://github.com/reecetech/transfer-action","keywords_array":[],"namespace":"reecetech","versions_count":14,"first_release_published_at":"2022-05-16T03:29:11.000Z","latest_release_published_at":"2024-12-14T23:07:08.000Z","latest_release_number":"v2.0.8","last_synced_at":"2026-04-18T06:02:37.178Z","created_at":"2023-05-17T09:56:08.446Z","updated_at":"2026-04-18T06:02:37.179Z","registry_url":"https://github.com/reecetech/transfer-action","install_command":null,"documentation_url":null,"metadata":{"name":"Data transfer action","description":"This action transfers data to/from artefact storage\n","branding":{"icon":"package","color":"purple"},"inputs":{"checkout":{"description":"Do a Git checkout before transferring, either: `true` or `false`; defaults to `false`","default":"false"},"checkout-fetch-depth":{"description":"Number of commits to fetch. 0 indicates all history for all branches and tags","default":1},"checkout-lfs":{"description":"Whether to download Git-LFS files","default":"false"},"direction":{"description":"Direction of transfer, either: `upload` or `download`","required":true},"if-no-files-found":{"description":"The desired behavior if no files are found using the provided path.\nAvailable Options:\n  warn: Output a warning but do not fail the action\n  error: Fail the action with an error message\n  ignore: Do not output any warnings or errors, the action does not fail\n","default":"error"},"name":{"description":"Artifact name: defaults to `checkout` if checkout input is `true`, otherwise, please provide a value"},"path":{"description":"⚠️ Conditional defaults!\n- if `checkout` is `true`; then defaults to `./.git/`\n- if `checkout` is `false`; then defaults to `./`\n\nAdditionally, the meaning of `path` is:\n- if direction is `upload`: a file, directory or wildcard pattern that describes what to upload;\n- if direction is `download`: destination path\n"}},"outputs":{"name":{"description":"Artifact name","value":"${{ steps.verify.outputs.name }}"}},"runs":{"using":"composite","steps":[{"id":"verify","name":"Verify inputs 🔎","shell":"bash","env":{"CHECKOUT":"${{ inputs.checkout }}","DIRECTION":"${{ inputs.direction }}","NAME":"${{ inputs.name }}","DIR_PATH":"${{ inputs.path }}","LFS":"${{ inputs.checkout-lfs }}"},"run":"set -euo pipefail\n\nif [[ \"${LFS}\" != 'false' ]] ; then\n  echo \"🛑 sorry, LFS functionality not yet implemented\"\n  exit 255\nfi\n\nif [[ \"${CHECKOUT}\" != 'true' \u0026\u0026 \"${CHECKOUT}\" != 'false' ]] ; then\n  echo \"🛑 checkout input set to '${CHECKOUT}', should be either 'true' or 'false'\"\n  exit 1\nfi\n\nif [[ \"${DIRECTION}\" != 'upload' \u0026\u0026 \"${DIRECTION}\" != 'download' ]] ; then\n  echo \"🛑 direction input set to '${DIRECTION}', should be either 'upload' or 'download'\"\n  exit 2\nfi\n\nif [[ -n \"${NAME:-}\" ]] ; then\n  echo \"name=${NAME}\" \u003e\u003e $GITHUB_OUTPUT\nelse\n  if [[ \"${CHECKOUT}\" == 'true' ]] ; then\n    echo \"name=checkout\" \u003e\u003e $GITHUB_OUTPUT\n  else\n    echo \"🛑 name input has not been provided, need a value\"\n    exit 3\n  fi\nfi\n\nif [[ -n \"${DIR_PATH:-}\" ]] ; then\n  echo \"path=${DIR_PATH}\" \u003e\u003e $GITHUB_OUTPUT\nelse\n  if [[ \"${CHECKOUT}\" == 'true' ]] ; then\n    echo \"path=./.git/\" \u003e\u003e $GITHUB_OUTPUT\n  else\n    echo \"path=./\" \u003e\u003e $GITHUB_OUTPUT\n  fi\nfi\n"},{"id":"clone","if":"inputs.checkout == 'true' \u0026\u0026 inputs.direction == 'upload'","name":"Clone repo ⧉","uses":"actions/checkout@v4","with":{"fetch-depth":"${{ inputs.checkout-fetch-depth }}"}},{"id":"prepare-dot-git","if":"inputs.checkout == 'true' \u0026\u0026 inputs.direction == 'upload'","name":"Remove index 🗑","shell":"bash","run":"set -euo pipefail\nrm -f .git/index\n"},{"id":"transfer-up","if":"inputs.direction == 'upload'","name":"Transfer data to GitHub 🆙","uses":"actions/upload-artifact@v4","with":{"if-no-files-found":"${{ inputs.if-no-files-found }}","name":"${{ steps.verify.outputs.name }}","path":"${{ steps.verify.outputs.path }}","retention-days":1,"include-hidden-files":true}},{"id":"transfer-down","if":"inputs.direction == 'download'","name":"Transfer data from GitHub ⬇️","uses":"actions/download-artifact@v4","with":{"name":"${{ steps.verify.outputs.name }}","path":"${{ steps.verify.outputs.path }}"}},{"id":"checkout","if":"inputs.checkout == 'true' \u0026\u0026 inputs.direction == 'download'","name":"Checkout repo 🛒","shell":"bash","run":"set -euo pipefail\n\n# Compatibility with pull request triggers\nif [[ -n \"${{ github.head_ref }}\" ]] ; then  # if `head_ref` set, then it's a pull request\n  export ref=\"refs/remotes/pull/${{ github.ref_name }}\"\n  export ref_name=\"${{ github.head_ref }}\"\nelse\n  export ref=\"${{ github.ref }}\"\n  export ref_name=\"${{ github.ref_name }}\"\nfi\n\nif [[ \"${{ github.ref_type }}\" == 'branch' \u0026\u0026 -z \"${{ github.head_ref }}\" ]] ; then\n  git checkout --progress --force -B \"${ref_name}\" \"${ref}\"\nelse\n  git checkout --progress --force \"${ref}\"\nfi\n"}]},"default_branch":"main","path":null},"repo_metadata":{"id":38204323,"uuid":"492649608","full_name":"reecetech/transfer-action","owner":"reecetech","description":"This action transfers data between self-hosted and GitHub-hosted runners","archived":false,"fork":false,"pushed_at":"2024-12-14T21:08:23.000Z","size":26,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-14T21:27:06.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reecetech.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-16T01:39:11.000Z","updated_at":"2024-12-14T20:50:12.000Z","dependencies_parsed_at":"2024-12-14T21:25:20.420Z","dependency_job_id":null,"html_url":"https://github.com/reecetech/transfer-action","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reecetech","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229758699,"owners_count":18119769,"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"},"owner_record":{"login":"reecetech","name":"reecetech","uuid":"39549693","kind":"organization","description":"","email":null,"website":"https://www.reecetech.com.au/","location":"Melbourne, Australia","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/39549693?v=4","repositories_count":9,"last_synced_at":"2023-03-02T01:15:17.066Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/reecetech","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-12T19:54:31.244Z","updated_at":"2023-03-02T01:15:17.073Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reecetech","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reecetech/repositories"},"tags":[{"name":"v2.0.7","sha":"3534e68f6c7fc4eda74ce001894069efb090fc17","kind":"commit","published_at":"2024-12-14T20:50:08.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v2.0.7","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v2.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.7/manifests"},{"name":"v2.0.6","sha":"55a8a692c1a0ee1a232fe6f6abe2860c2b8cf32f","kind":"commit","published_at":"2023-04-17T04:19:13.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v2.0.6","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v2.0.6","dependencies_parsed_at":"2023-06-02T00:50:35.661Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.6/manifests"},{"name":"v2","sha":"da7fce85e954676164871c206ae6088b459db241","kind":"commit","published_at":"2022-07-12T23:12:54.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v2","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v2","dependencies_parsed_at":"2023-05-31T10:51:40.492Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2/manifests"},{"name":"v2.0.5","sha":"da7fce85e954676164871c206ae6088b459db241","kind":"commit","published_at":"2022-07-12T23:12:54.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v2.0.5","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v2.0.5","dependencies_parsed_at":"2023-05-31T10:51:39.947Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.5/manifests"},{"name":"v2.0.4","sha":"7b86495c977618e7b0a68c8e0927e01e1f45f923","kind":"commit","published_at":"2022-06-09T08:44:05.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v2.0.4","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v2.0.4","dependencies_parsed_at":"2023-05-31T10:51:41.001Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.4/manifests"},{"name":"v2.0.3","sha":"6ad994029c8a1a5eb5905b3d8e2adeb65a4b012b","kind":"commit","published_at":"2022-05-27T02:09:13.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v2.0.3","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v2.0.3","dependencies_parsed_at":"2023-05-31T10:51:41.578Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.3/manifests"},{"name":"v2.0.2","sha":"d8aa5a6d18c426d3d22e736eb906bffc07e9ab0e","kind":"commit","published_at":"2022-05-26T07:34:23.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v2.0.2","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v2.0.2","dependencies_parsed_at":"2023-05-31T10:51:42.284Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.2/manifests"},{"name":"v2.0.0","sha":"1c9ba648dfb7f054d75836a2b78f74706b5336f1","kind":"commit","published_at":"2022-05-26T04:37:44.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v2.0.0","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v2.0.0","dependencies_parsed_at":"2023-05-31T10:51:43.440Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.0/manifests"},{"name":"v2.0.1","sha":"1c9ba648dfb7f054d75836a2b78f74706b5336f1","kind":"commit","published_at":"2022-05-26T04:37:44.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v2.0.1","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v2.0.1","dependencies_parsed_at":"2023-05-31T10:51:42.783Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v2.0.1/manifests"},{"name":"v1.0.2","sha":"c38e19ec0d936b31d2ba383ce9d2adf2521af800","kind":"commit","published_at":"2022-05-17T01:49:39.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v1.0.2","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v1.0.2","dependencies_parsed_at":"2023-05-31T10:51:44.010Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v1.0.2/manifests"},{"name":"v1","sha":"c38e19ec0d936b31d2ba383ce9d2adf2521af800","kind":"commit","published_at":"2022-05-17T01:49:39.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v1","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v1","dependencies_parsed_at":"2023-05-31T10:51:44.579Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v1/manifests"},{"name":"v1.0.1","sha":"7adf33b860e038b56dcb497bd3278d03ce20691a","kind":"commit","published_at":"2022-05-16T03:35:40.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v1.0.1","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v1.0.1","dependencies_parsed_at":"2023-05-31T10:51:45.248Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"13580bcfe73a1bbe0b49c929619afb6700fe2491","kind":"commit","published_at":"2022-05-16T03:29:11.000Z","download_url":"https://codeload.github.com/reecetech/transfer-action/tar.gz/v1.0.0","html_url":"https://github.com/reecetech/transfer-action/releases/tag/v1.0.0","dependencies_parsed_at":"2023-05-31T10:51:45.770Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2024-12-14T21:37:28.641Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":40.26221692491061,"dependent_packages_count":0.0,"stargazers_count":48.81764060265407,"forks_count":35.22640316731543,"docker_downloads_count":null,"average":31.076565173720027},"purl":"pkg:githubactions/reecetech/transfer-action","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/reecetech/transfer-action","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/reecetech/transfer-action","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/reecetech/transfer-action/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-12-14T21:37:22.732Z","issues_count":1,"pull_requests_count":11,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":10596.444444444445,"issues_closed_count":0,"pull_requests_closed_count":9,"pull_request_authors_count":4,"issue_authors_count":1,"avg_comments_per_issue":3.0,"avg_comments_per_pull_request":0.36363636363636365,"merged_pull_requests_count":9,"bot_issues_count":0,"bot_pull_requests_count":1,"past_year_issues_count":0,"past_year_pull_requests_count":3,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":913.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":1,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/reecetech%2Ftransfer-action/issues","maintainers":[{"login":"ps-jay","count":8,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ps-jay"}],"active_maintainers":[{"login":"ps-jay","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ps-jay"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/reecetech%2Ftransfer-action/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/reecetech%2Ftransfer-action/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/reecetech%2Ftransfer-action/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/reecetech%2Ftransfer-action/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/reecetech%2Ftransfer-action/codemeta","maintainers":[]}