Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natsuneko-laboratory/get-meta-from-glob
GitHub Actions for collecting meta from glob patterns
https://github.com/natsuneko-laboratory/get-meta-from-glob
Last synced: 4 days ago
JSON representation
GitHub Actions for collecting meta from glob patterns
- Host: GitHub
- URL: https://github.com/natsuneko-laboratory/get-meta-from-glob
- Owner: natsuneko-laboratory
- License: mit
- Created: 2022-02-07T11:07:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-11T08:30:50.000Z (almost 3 years ago)
- Last Synced: 2024-10-07T09:19:35.121Z (3 months ago)
- Language: TypeScript
- Size: 149 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @natsuneko-laboratory/get-meta-from-glob
Create Unity's meta collections from glob patterns.
## Usage
```yaml
name: "Release by Tag"on:
push:
tags:
- v\d+\.\d+\.\d+
workflow_dispatch:jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true- uses: natsuneko-laboratory/get-meta-from-glob@main
with:
includes: |
Assets/NatsunekoLaboratory/RefinedAnimationProperty/**/*.*
output: ./MetaList- run: |
mkdir ./dist- uses: natsuneko-laboratory/create-unitypackage@main
with:
meta: ./MetaList
output: dist/RefinedAnimationProperty.unitypackage- uses: actions/upload-artifact@v2
with:
name: RefinedAnimationProperty.unitypackage
path: dist/RefinedAnimationProperty.unitypackage
```## Properties
| Property | Type | Required | Description |
| ---------- | ------ | ------------------ | --------------------------------------------- |
| `includes` | string | Yes | Including glob patterns, one pattern per line |
| `excludes` | string | No (default: `""`) | Excluding glob patterns, one pattern per line |
| `root` | string | No (default: `.`) | Root directory |
| `output` | string | Yes | Output filepath |## License
MIT by [Natsune - @6jz](https://twitter.com/6jz)