Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull files/folder from specific branch #8

Closed
keunes opened this issue Dec 27, 2021 · 1 comment · Fixed by #6
Closed

Pull files/folder from specific branch #8

keunes opened this issue Dec 27, 2021 · 1 comment · Fixed by #6

Comments

@keunes
Copy link

keunes commented Dec 27, 2021

Hello,

Via actions/checkout#483 I arrived here. I'm interested in pulling (checking out) a specific file from another branch. But in the instructions I don't see anywhere how to specify the branch to pull from.

If I already checked out the main branch, can I then pull specific files from another branch (in the same repo) using this action? If so, how could I do that?

(I tried following these instructions but they don't work in an action:)
afbeelding

@sun
Copy link
Contributor

sun commented Jan 12, 2022

#6 addresses this.

You may try using our fork https://github.com/makers99/checkout-files in the meantime.

        uses: makers99/[email protected]

@Bhacaz Bhacaz closed this as completed in #6 Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants