Skip to content

Create the examples directory #9

Closed

Description

@smorimoto

Currently, PR's have been submitted to add language specific examples (#4, #5, #8, #10), and probably more PRs will be submitted if you approve those. So, if you plan to approve it, you should create an examples directory to keep clean README. What do you think?

Activity

  1. self-assigned this
    on Oct 31, 2019
  2. chrispat commented on Oct 31, 2019

    @chrispat
    Contributor

    We will have more comprehensive documentation going up next week and will have some samples. I don't want to bloat this repo with a bunch of different samples.

  3. smorimoto commented on Oct 31, 2019

    @smorimoto
    ContributorAuthor

    Yes, I agree completely. If we have basic API usage documentation, we don't need an example for each language.

  4. ad-m commented on Oct 31, 2019

    @ad-m
    Contributor

    @chrispat, It may be helpful to document an example:

    • using Docker, due to its specific, own cache management,
    • using cache and "jobs. <job_id> .needs" to separate build from testing performed in parallel (using "jobs.<job_id>.strategy").
  5. chrispat commented on Oct 31, 2019

    @chrispat
    Contributor

    @ad-m due to the way docker does its caching I don't think you would want to use this feature to cache docker layers.

  6. ad-m commented on Oct 31, 2019

    @ad-m
    Contributor

    In this case, the Docker cache issue in GitHub Actions remains open. Should this be an issue in this repository or in repository @actions/toolkit?

  7. joshmgross commented on Oct 31, 2019

    @joshmgross
    Contributor

    @ad-m I think it's fine to leave that in @actions/toolkit, as it's a general improvement to Docker actions. If the recommended step is to just cache before using every docker action, then that might be better if done by default.

  8. added a commit that references this issue on Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions