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

feat: Add option fetch-from #34

Open
peaceiris opened this issue Jan 6, 2020 · 3 comments
Open

feat: Add option fetch-from #34

peaceiris opened this issue Jan 6, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request proposal

Comments

@peaceiris
Copy link
Owner

peaceiris commented Jan 6, 2020

Is your feature request related to a problem? Please describe.

An option that fetching the latest version from value.

with:
  fetch-from: 'github'  # default: 'brew'

Describe the solution you'd like
Provide this option.

Describe alternatives you've considered
N/A

Additional context
A workaround for GitHub API limitation.

- name: Get the latest version
  id: mdbook_version
  run: |
    MDBOOK_VERSION="$(curl -fsi "https://github.com/${GITHUB_REPOSITORY}/releases/latest" | awk -F/ '/^Location:/ {print $(NF)}')"
    echo "::set-output name=mdbook_version::${MDBOOK_VERSION}"

- name: Setup mdBook
  uses: peaceiris/actions-mdbook@v1
  with:
    mdbook-version: '${{ steps.mdbook_version.outputs.mdbook_version }}'
@peaceiris peaceiris self-assigned this Jan 6, 2020
@peaceiris peaceiris added the enhancement New feature or request label Jan 17, 2020
@peaceiris peaceiris changed the title proposal: Add option fetch-from feat: Add option fetch-from Jan 27, 2020
@github-actions
Copy link
Contributor

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Feb 18, 2020
@peaceiris peaceiris removed the Stale label Feb 18, 2020
@github-actions
Copy link
Contributor

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Mar 11, 2020
@peaceiris peaceiris removed the Stale label Mar 11, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Apr 2, 2020

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Apr 2, 2020
@peaceiris peaceiris removed the Stale label Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request proposal
Projects
None yet
Development

No branches or pull requests

1 participant