-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add changes for v1 and documentation
- Loading branch information
Unai Abrisketa
committed
May 16, 2022
1 parent
feccb91
commit 58f19fa
Showing
2 changed files
with
38 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,26 @@ | ||
### Setup ruby and node | ||
This action sets up ruby and node with caching. | ||
# action-build-rails | ||
|
||
Check the `action.yml` file for more information. | ||
GitHub Action for setting up a Rails environment installing Ruby and Yarn dependencies. It caches dependencies for reduced execution times. | ||
|
||
## Inputs | ||
|
||
| Name | Description | Default | Required | | ||
|----------------------|------------------------------|---------|----------| | ||
| `ruby_version` | The ruby version to be used. | `3.1.2` | `true` | | ||
| `node_version` | The node version to be used. | `18` | `true` | | ||
| `bundle_github__com` | The GitHub access token. | `nil` | `false` | | ||
|
||
## Usage | ||
|
||
```yml | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Build Rails | ||
uses: ePages-de/action-build-rails@v1 | ||
with: | ||
node_version: 18 | ||
ruby_version: 3.1.2 | ||
bundle_github__com: ${{ secrets.GITHUB_TOKEN }} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters