{"id":18118372,"url":"https://github.com/sergioribera/cargo-pkgbuild-action","last_synced_at":"2025-06-11T10:41:34.052Z","repository":{"id":216049096,"uuid":"740273558","full_name":"SergioRibera/cargo-pkgbuild-action","owner":"SergioRibera","description":"Github Action for generate Aur PKGBUILD file from Cargo.toml","archived":false,"fork":false,"pushed_at":"2024-10-21T04:07:20.000Z","size":46,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T03:32:46.640Z","etag":null,"topics":["actions","archlinux","aur","aur-packages","cargo","github-actions","rust","rust-lang"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/aur-pkgbuild-from-cargo-toml","language":"Shell","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/SergioRibera.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":"2024-01-08T02:03:58.000Z","updated_at":"2024-09-26T23:18:44.000Z","dependencies_parsed_at":"2024-04-06T03:20:42.080Z","dependency_job_id":"e89202fa-5e53-4486-8efe-db74edcd9890","html_url":"https://github.com/SergioRibera/cargo-pkgbuild-action","commit_stats":{"total_commits":36,"total_committers":1,"mean_commits":36.0,"dds":0.0,"last_synced_commit":"2cdc7a5b8de1e067d3733c25a00bbd279a6c8003"},"previous_names":["sergioribera/cargo-pkgbuild-action"],"tags_count":1,"template":false,"template_full_name":"actions/hello-world-docker-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioRibera%2Fcargo-pkgbuild-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioRibera%2Fcargo-pkgbuild-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioRibera%2Fcargo-pkgbuild-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioRibera%2Fcargo-pkgbuild-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SergioRibera","download_url":"https://codeload.github.com/SergioRibera/cargo-pkgbuild-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248918326,"owners_count":21183166,"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":["actions","archlinux","aur","aur-packages","cargo","github-actions","rust","rust-lang"],"created_at":"2024-11-01T05:10:56.777Z","updated_at":"2025-04-14T16:42:03.676Z","avatar_url":"https://github.com/SergioRibera.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Generate and deploy PKGBUILD from Cargo.toml\n\n[![GitHub Super-Linter](https://github.com/SergioRibera/cargo-pkgbuild-action/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter)\n![CI](https://github.com/SergioRibera/cargo-pkgbuild-action/actions/workflows/ci.yml/badge.svg)\n\nThis action allows you to generate the PKGBUILD file and\npublish it in the AUR repository from your Cargo.toml metadata.\n\n\u003e [!NOTE]\n\u003e This uses [cargo-aur](https://github.com/SergioRibera/cargo-pkgbuild/tree/dev) to make all this possible\n\n## Usage\n\nHere's an example of how to use this action in a workflow file:\n\n```yaml\nname: Example\n\non:\n  push:\n    tags:\n      - \"*\" # Run on any tag\n\njobs:\n    aur-publish:\n        runs-on: ubuntu-latest\n        steps:\n        - uses: actions/checkout@v4\n\n        - name: Publish AUR package\n          uses: SergioRibera/cargo-pkgbuild-action@v1\n          with:\n            github_token: ${{ secrets.GITHUB_TOKEN }}\n            ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}\n            proyect_path: 'test_proyect' # The project path to generate PKGBUILD\n```\n\n## Inputs\n\n| Input             | Default                               | Description                                                        |\n|-------------------|---------------------------------------|--------------------------------------------------------------------|\n| `proyect_path`    | `.`                                   | The project path to generate PKGBUILD                              |\n| `musl`            | `false`                               | Build the binary as musl                                           |\n| `file`            | ``                                    | The path to the .tar.gz file to use                                |\n| `output`          | `out/`                                | Defines the folder from which the PKGBUILD file will be generated. |\n| `package_name`    | `${{ github.event.repository.name }}` | The name in AUR of the package to release                          |\n| `git_username`    | `AUR Release Action`                  | The username to use for the git commit                             |\n| `git_email`       | `github-action-bot@no-reply.com`      | The email to use for the git commit                                |\n| `ssh_private_key` | `true`                                | The private key to use for the git commit                          |\n| `publish`         | `true`                                | To publish or not to publish the package                           |\n| `test_pkgbuild`   | `true`                                | Whether to try building and installing the package or not          |\n| `github_token`    | `true`                                | The GitHub token to use for the release                            |\n| `commit_message`  | `Bump %FILENAME% to %VERSION%`        | The commit message to use for the git commit                       |\n\n## Outputs\n\n| Output     | Description                             |\n|------------|-----------------------------------------|\n| `file`     | The path to the generated .tar.gz file  |\n| `pkgbuild` | The path to the generated PKGBUILD file |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergioribera%2Fcargo-pkgbuild-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergioribera%2Fcargo-pkgbuild-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergioribera%2Fcargo-pkgbuild-action/lists"}