{"id":20893258,"url":"https://github.com/zhongjunjimmy/github_actions","last_synced_at":"2026-04-26T09:32:19.974Z","repository":{"id":135439070,"uuid":"441087178","full_name":"ZhongJunJimmy/github_actions","owner":"ZhongJunJimmy","description":"Using Github Actions in basic way","archived":false,"fork":false,"pushed_at":"2022-02-09T03:41:40.000Z","size":110,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T20:57:51.531Z","etag":null,"topics":["actions","github-actions"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZhongJunJimmy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-12-23T06:39:12.000Z","updated_at":"2022-01-28T05:56:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"bda58f01-560f-4de1-ae35-b28fffd0b5e9","html_url":"https://github.com/ZhongJunJimmy/github_actions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZhongJunJimmy/github_actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhongJunJimmy%2Fgithub_actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhongJunJimmy%2Fgithub_actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhongJunJimmy%2Fgithub_actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhongJunJimmy%2Fgithub_actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZhongJunJimmy","download_url":"https://codeload.github.com/ZhongJunJimmy/github_actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhongJunJimmy%2Fgithub_actions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32292835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T08:29:33.829Z","status":"ssl_error","status_checked_at":"2026-04-26T08:29:18.366Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","github-actions"],"created_at":"2024-11-18T10:15:14.002Z","updated_at":"2026-04-26T09:32:19.969Z","avatar_url":"https://github.com/ZhongJunJimmy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Actions\nHey Guys, I want to make a sample that auto completion your workflow by github actions. It will generate a MAC OS 11(or the other OS) environment, install Node.js in the environment and build executable file by [pkg](https://www.npmjs.com/package/pkg).\n\n##  Creating your workflow\n1. Creating a `.github/workflows` directory in your repository if this directory does not already exist.\n2. In the `.github/workflows` directory, creating a file named `github-actions-demo.yml` or any file name you want to named. But the extension name must be `.yml`.\n3. Edit you workflow step. For example in this repository:\n    ``` \n    name: github-actions-demo\n    on: [push]\n    jobs:\n        github-actions-demo:\n            runs-on: macos-11\n            steps:\n            - name: Check out repository code\n                uses: actions/checkout@v2\n            - name: List files in the repository\n                run: |\n                ls ${{ github.workspace }}\n            - uses: actions/setup-node@v2\n                with:\n                node-version: '14'\n            - name: build pkg\n                working-directory: ./koa_project\n                run: |\n                npm install\n                npm install -g pkg\n                pkg app.js\n            - uses: actions/upload-artifact@v2\n                with:\n                name: Executable file for MAC OS\n                path: ./koa_project/app-macos\n            - uses: actions/upload-artifact@v2\n                with:\n                name: Executable file for Windows\n                path: ./koa_project/app-win.exe\n            - uses: actions/upload-artifact@v2\n                with:\n                name: Executable file for Linux\n                path: ./koa_project/app-linux\n    ```\n4. Committing the workflow file to a branch in your repository triggers the push event and runs your workflow.\n\n## What did we do\nThat review the workflow script in the `Creating your workflow` step 4:\n- **name**: This workflow's name.\n- **on**: The workflow triger condition. You can got some hints form [there](https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows). In this sample that trigger the workflow when the push event.\n- **jobs**: Designing your workflow job. You can create more `job` under a `jobs` and more `step` under a `job`. The following string `github-actions-demo` after `jobs` is job's name in sample workflow script. So maybe you will design a `jobs` like this:\n    ```\n    jobs:\n        job_1:\n            ...\n        job_2:\n            needs: job_1\n            ...\n        job_3:\n            needs: [job_1, job_2]\n            ...\n        ...\n    ```\n\n#### To be continue...\n\n\n\n\n\n\n\n\n\n\n\n\n\n# Reference: \n- [Github Actions](https://docs.github.com/en/actions)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhongjunjimmy%2Fgithub_actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhongjunjimmy%2Fgithub_actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhongjunjimmy%2Fgithub_actions/lists"}