Skip to content

Commit

Permalink
Use new, combined schemes repository (#80)
Browse files Browse the repository at this point in the history
* Use new, combined schemes repository

Updates the GitHub workflow to reference the new, combined schemes
repository. It continues to run on only the 16-colors schemes.

Updates references. Updates GitHub core actions while modifying.

* Simplify update workflow
  • Loading branch information
connorjs authored May 19, 2024
1 parent 17b238f commit 6e955d7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch the repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Fetch the schemes repository
uses: actions/checkout@v3
with:
repository: tinted-theming/base16-schemes
path: schemes
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Update schemes
uses: tinted-theming/base16-builder-go@latest
- name: Commit the changes, if any
Expand Down
18 changes: 9 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ automatically.
### Usage for template editing

1. Clone the template repository onto your system
1. Download the [latest base16-builder-go binary]
1. Execute the binary with the `-template-dir` arg and provide
2. Download the [latest base16-builder-go binary]
3. Execute the binary with the `-template-dir` arg and provide
`/path/to/base16-vim`

Or the above steps represented in shell commands:
Expand All @@ -27,16 +27,16 @@ Or the above steps represented in shell commands:
### Usage for adding or editing a colorscheme

1. Clone the base16-vim
1. Clone [base16-schemes]
1. Download the [latest base16-builder-go binary]
1. Execute the binary with
- `-schemes-dir` arg - provide `/path/to/base16-scehemes`
2. Clone [schemes]
3. Download the [latest base16-builder-go binary]
4. Execute the binary with
- `-schemes-dir` arg - provide `/path/to/schemes/base16`
- `-template-dir` arg - provide `/path/to/base16-vim`
`base16-vim` repository)
(`base16-vim` repository)

```shell
/path/to/base16-builder-go-binary \
-schemes-dir "/path/to/base16-schemes" \
-schemes-dir "/path/to/schemes/base16" \
-template-dir "/path/to/base16-vim"
```

Expand All @@ -58,7 +58,7 @@ Please follow the instructions in the issue templates:
- [Issue template for feature requests]

[base16-builder-go]: https://github.com/tinted-theming/base16-builder-go
[base16-schemes]: https://github.com/tinted-theming/base16-schemes
[schemes]: https://github.com/tinted-theming/schemes
[GitHub Action]: .github/workflows/update.yml
[latest base16-builder-go binary]: https://github.com/tinted-theming/base16-builder-go/releases
[PR template]: .github/pull_request_template.md
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ instructions.

[1]: https://github.com/vim/vim
[2]: https://github.com/neovim/neovim
[3]: https://github.com/tinted-theming/base16-schemes
[3]: https://github.com/tinted-theming/schemes
[4]: https://github.com/tinted-theming/home#official-templates
[5]: https://github.com/tinted-theming/home#unofficial-templates
[6]: https://github.com/tinted-theming/base16-shell
Expand Down

0 comments on commit 6e955d7

Please sign in to comment.