{"id":15665175,"url":"https://github.com/jeromewu/actions-cheat-sheet","last_synced_at":"2026-01-31T10:32:38.463Z","repository":{"id":74168141,"uuid":"290365841","full_name":"jeromewu/actions-cheat-sheet","owner":"jeromewu","description":"A cheat sheet for github actions","archived":false,"fork":false,"pushed_at":"2020-09-01T10:06:27.000Z","size":13,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T14:09:05.586Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeromewu.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":"2020-08-26T01:39:49.000Z","updated_at":"2022-01-05T03:26:20.000Z","dependencies_parsed_at":"2023-06-04T14:45:17.124Z","dependency_job_id":null,"html_url":"https://github.com/jeromewu/actions-cheat-sheet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jeromewu/actions-cheat-sheet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromewu%2Factions-cheat-sheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromewu%2Factions-cheat-sheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromewu%2Factions-cheat-sheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromewu%2Factions-cheat-sheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeromewu","download_url":"https://codeload.github.com/jeromewu/actions-cheat-sheet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromewu%2Factions-cheat-sheet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28938586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T10:18:23.202Z","status":"ssl_error","status_checked_at":"2026-01-31T10:18:22.693Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-10-03T13:45:11.314Z","updated_at":"2026-01-31T10:32:38.444Z","avatar_url":"https://github.com/jeromewu.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# actions-cheat-sheet\n\nCheat sheet for Github Actions! PRs are highly welcome. :smile:\n\n- [Common](#common)\n- [Linux Only](#linux-only)\n- [MacOS Only](#macos-only)\n- [Windows Only](#windows-only)\n\n## Common\n\n- Strategy: creates a build matrix for your jobs. You can define different variations of an environment to run each job in.\n\n```yaml\njobs:\n  multiple_os_versions:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-16.04, ubuntu-18.04]\n        node: [6, 8, 10]\n    steps:\n      - uses: actions/setup-node@v1\n        with:\n          node-version: ${{ matrix.node }}\n```\n\n## Linux Only\n\n- Use container in Linux\n\n```yaml\njobs:\n  linux_with_container:\n    runs-on: ubuntu-latest\n    container: gcc:4\n    steps:\n      - name: GCC version\n        run: gcc -v\n```\n\n## MacOS Only\n\n- `jobs.\u003cjob_id\u003e.container` doesn't work when `jobs.\u003cjob_id\u003e.runs-on` = `macos-*`\n- Use gcc-8 / gcc-9 as default gcc runtime\n\n```yaml\njobs:\n  macos_with_gcc_and_make:\n    runs-on: macos-latest\n    steps:\n      - name: GCC version\n        shell: bash\n        run: |\n          shopt -s expand_aliases\n          alias gcc='gcc-8'\n          gcc -v\n```\n\n## Windows Only\n\n- `jobs.\u003cjob_id\u003e.container` doesn't work when `jobs.\u003cjob_id\u003e.runs-on` = `windows-*`\n- Use bash\n\n```yaml\njobs:\n  windows_with_bash:\n    runs-on: windows-latest\n    steps:\n      - name: Display PATH\n        run: echo $PATH\n        shell: bash\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeromewu%2Factions-cheat-sheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeromewu%2Factions-cheat-sheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeromewu%2Factions-cheat-sheet/lists"}