{"id":16036270,"url":"https://github.com/cytopia/upload-artifact-retry-action","last_synced_at":"2026-03-13T12:02:47.467Z","repository":{"id":42039482,"uuid":"482223346","full_name":"cytopia/upload-artifact-retry-action","owner":"cytopia","description":"This action allows you to upload an artifact with retries in case the upload has failed. It wraps upload-artifact-verify-action and retries it","archived":false,"fork":false,"pushed_at":"2023-09-05T07:00:39.000Z","size":25,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-19T10:12:49.078Z","etag":null,"topics":["action","actions","github-actions","upload"],"latest_commit_sha":null,"homepage":"","language":null,"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/cytopia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2022-04-16T10:27:11.000Z","updated_at":"2024-10-03T17:38:52.000Z","dependencies_parsed_at":"2024-02-08T04:35:10.911Z","dependency_job_id":"d6b0466c-4d80-4d2d-8fe7-bd12b8fc924e","html_url":"https://github.com/cytopia/upload-artifact-retry-action","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":"0.30000000000000004","last_synced_commit":"9b29bb7bae495e5d2c586d5eb0ca1e6073c0fcbf"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/cytopia/upload-artifact-retry-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cytopia%2Fupload-artifact-retry-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cytopia%2Fupload-artifact-retry-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cytopia%2Fupload-artifact-retry-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cytopia%2Fupload-artifact-retry-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cytopia","download_url":"https://codeload.github.com/cytopia/upload-artifact-retry-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cytopia%2Fupload-artifact-retry-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260629829,"owners_count":23038995,"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":["action","actions","github-actions","upload"],"created_at":"2024-10-08T22:02:23.500Z","updated_at":"2026-03-13T12:02:42.426Z","avatar_url":"https://github.com/cytopia.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Upload artifact retry action\n\n[![GitHub release](https://img.shields.io/github/release/cytopia/upload-artifact-retry-action.svg?logo=github)](https://github.com/cytopia/upload-artifact-retry-action/releases/latest)\n[![GitHub marketplace](https://img.shields.io/badge/marketplace-upload--artifact--retry-blue?logo=github)](https://github.com/marketplace/actions/upload-artifact-retry)\n[![](https://img.shields.io/badge/github-cytopia%2Fupload--artifact--retry--action-red.svg?logo=github)](https://github.com/cytopia/upload-artifact-retry-action \"github.com/cytopia/upload-artifact-retry-action\")\n[![test](https://github.com/cytopia/upload-artifact-retry-action/actions/workflows/test.yml/badge.svg)](https://github.com/cytopia/upload-artifact-retry-action/actions/workflows/test.yml)\n\nThis action allows you to upload an artifact with retries in case the upload has failed. It wraps [upload-artifact-verify-action](https://github.com/cytopia/upload-artifact-verify-action) and retries it.\n\n\n## :arrow_forward: Inputs\n\nThe following inputs can be used to alter the Docker tag name determination:\n\n| Input          | Required | Default | Description                               |\n|----------------|----------|---------|-------------------------------------------|\n| `name`         | Yes      | ``      | The artifact name.                        |\n| `path`         | Yes      | ``      | The local file to upload.                 |\n| `pre_command`  | No       | ``      | A bash command to execute before uploading the artifact (e.g.: to create the artifact)            |\n| `post_command` | No       | ``      | A bash command to execute after downloading the artifact (e.g.: to verify it is the desired file)\u003cbr/\u003eThe `{{download_path}}` placeholder is available to refer to the downloaded file. |\n\n\n\n## :arrow_backward: Outputs\n\nNone\n\n\n## :computer: Usage\n\n### Simple\n```yaml\non: [push]\n\njobs:\n  job1:\n    runs-on: ubuntu-latest\n    name: Pull docker image\n    steps:\n\n      - name: Checkout repository\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Create artifact\n        id: file\n        shell: bash\n        run: |\n          PRE_RAND=\"$( ${RAND} | md5sum | head -c 20;  )\"\n          PRE_DATE=\"$( date '+%s' )\"\n          NAME=\"${PRE_RAND}-${PRE_DATE}.txt\"\n          echo \"somedata\" \u003e \"${NAME}\"\n          echo \"::set-output name=path::${NAME}\"\n\n      - name: upload artifact\n        uses: cytopia/upload-artifact-retry-action@v0.1.2\n        with:\n          name: ${{ steps.file.outputs.path }}\n          path: ${{ steps.file.outputs.path }}\n```\n\n\n## :exclamation: Keep up-to-date with GitHub Dependabot\n\nSince [Dependabot](https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-github-dependabot) has [native GitHub Actions support](https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#package-ecosystem), to enable it on your GitHub repo all you need to do is add the `.github/dependabot.yml` file:\n\n```yml\nversion: 2\nupdates:\n  # Maintain dependencies for GitHub Actions\n  - package-ecosystem: \"github-actions\"\n    directory: \"/\"\n    schedule:\n      interval: \"daily\"\n```\n\n\n## :octocat: [cytopia](https://github.com/cytopia) GitHub Actions\n\n| Name                             | Description |\n|----------------------------------|-------------|\n| [docker-tag-action]              | Determines Docker tags based on git branch, commit or git tag |\n| [git-ref-matrix-action]          | Create stringified JSON list of git refs to be used as a build matrix |\n| [shell-command-retry-action]     | Retries shell commands to avoid failing pipelines due to network issues |\n| [upload-artifact-verify-action]  | Upload artifact and verifies it by downloading it again |\n| [upload-artifact-retry-action]   | Retries `upload-artifact-verify-action` |\n| [download-artifact-retry-action] | Download artifact with retry functionality |\n\n[docker-tag-action]: https://github.com/cytopia/docker-tag-action\n[git-ref-matrix-action]: https://github.com/cytopia/git-ref-matrix-action\n[shell-command-retry-action]: https://github.com/cytopia/shell-command-retry-action\n[upload-artifact-verify-action]: https://github.com/cytopia/upload-artifact-verify-action\n[upload-artifact-retry-action]: https://github.com/cytopia/upload-artifact-retry-action\n[download-artifact-retry-action]: https://github.com/cytopia/download-artifact-retry-action\n\n\n## :page_facing_up: License\n\n**[MIT License](LICENSE)**\n\nCopyright (c) 2022 [cytopia](https://github.com/cytopia)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcytopia%2Fupload-artifact-retry-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcytopia%2Fupload-artifact-retry-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcytopia%2Fupload-artifact-retry-action/lists"}