Skip to content

Commit

Permalink
Fixed installation instructions, added example for built-in token. (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
sun authored Jun 17, 2022
1 parent 73e17cf commit 70235c4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,20 @@ Useful if only need certain file, like config or
A list of files with the path relative to the `$GITHUB_WORKSPACE`.
You can also specify a folder and the action will recessively pull all the files.

```
- use: Bhacaz/checkout-files
```yaml
- name: Check out configuration
uses: Bhacaz/checkout-files@v1
with:
files: Gemfile Gemfile.lock .ruby-version config
token: ${{ github.token }}
```
**token**
A Github Private Access Token.
```
- use: Bhacaz/checkout-files
```yaml
- uses: Bhacaz/checkout-files@v1
with:
token: ${{ secrets.token }}
```
Expand Down

0 comments on commit 70235c4

Please sign in to comment.