{"id":28090134,"url":"https://github.com/link-u/execute-on-separated-ubuntu","last_synced_at":"2025-05-13T13:03:09.335Z","repository":{"id":65160611,"uuid":"269949736","full_name":"link-u/execute-on-separated-ubuntu","owner":"link-u","description":"GitHub Action / Executes a shell script inside a separated docker container","archived":false,"fork":false,"pushed_at":"2023-05-01T05:35:40.000Z","size":5,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-10T09:47:38.381Z","etag":null,"topics":["github-actions","github-actions-ci","github-actions-docker"],"latest_commit_sha":null,"homepage":"","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/link-u.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":"2020-06-06T10:43:59.000Z","updated_at":"2020-09-12T03:15:12.000Z","dependencies_parsed_at":"2023-01-13T15:44:01.677Z","dependency_job_id":null,"html_url":"https://github.com/link-u/execute-on-separated-ubuntu","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"cac4ef203ec8a816fe0363e584254f6dca070f83"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-u%2Fexecute-on-separated-ubuntu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-u%2Fexecute-on-separated-ubuntu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-u%2Fexecute-on-separated-ubuntu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-u%2Fexecute-on-separated-ubuntu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/link-u","download_url":"https://codeload.github.com/link-u/execute-on-separated-ubuntu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253948411,"owners_count":21988953,"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":["github-actions","github-actions-ci","github-actions-docker"],"created_at":"2025-05-13T13:00:56.068Z","updated_at":"2025-05-13T13:03:09.317Z","avatar_url":"https://github.com/link-u.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action - Execute a script on separeted ubuntu environment.\n\nThis Github action executes a shell script inside a separated docker container, which are more cleaner than default runner environment.\n\n## Usage\n\n### Inputs\n\n- `script`: Script path to execute. Relative to `$GITHUB_WORKSPACE`.\n- `on`: Codename of ubuntu to execute build script. `focal`(20.04) or `bionic`(18.04).\n\n### Outputs\n\nNo outputs.\n\n### Example workflow - build a project!\n\n```yaml\non: push\nname: Build binaries\njobs:\n  build:\n    runs-on: ubuntu-latest\n      matrix:\n        codename: [bionic, focal]\n    name: Create Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n          fetch-depth: 0\n      - name: Build the binary\n        uses: link-u/execute-on-separated-ubuntu@v1\n        with:\n          on: ${{ matrix.codename }}\n          script: scripts/build.sh\n```\n\nThis will execute `(your-repository)/scripts/build.sh` in both ubuntu-20.04 and 18.04.\nCreated artifacts are stored in `$GITHUB_WORKSPACE`, so you can upload [as an artifact](https://github.com/actions/upload-artifact), [as an release asset](https://github.com/actions/upload-release-asset) and so on.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink-u%2Fexecute-on-separated-ubuntu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flink-u%2Fexecute-on-separated-ubuntu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink-u%2Fexecute-on-separated-ubuntu/lists"}