Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abitofevrything/publish-mason-brick
A GitHub action to automatically publish bricks to https://brickhub.dev
https://github.com/abitofevrything/publish-mason-brick
action brickhub mason
Last synced: 24 days ago
JSON representation
A GitHub action to automatically publish bricks to https://brickhub.dev
- Host: GitHub
- URL: https://github.com/abitofevrything/publish-mason-brick
- Owner: abitofevrything
- Created: 2022-11-28T18:41:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T12:58:02.000Z (4 months ago)
- Last Synced: 2024-10-31T10:51:24.537Z (about 2 months ago)
- Topics: action, brickhub, mason
- Language: Dart
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Publish Mason Brick Action
This action automatically publishes [Mason](https://pub.dev/packages/mason_cli) bricks to https://brickhub.dev if a version change is detected.
## Inputs
#### `path`Optional, defaults to the repository root.
The path, relative to the repository root, of the brick to publish. This is the path to the directory containing the `brick.yaml` file, not the `brick.yaml` file itself.
#### `email`
Required.
The email to use when logging in to https://brickhub.dev.
#### `password`
Required.
The password to use when logging in to https://brickhub.dev.
#### `dryRun`
Optional, defaults to `false`.
Whether a dry run should be done. No bricks will be uploaded if this is set to true.
## Outputs
#### `name`The name of the brick being uploaded.
#### `version`
The local version of the brick being uploaded.
#### `oldVersion`
The version of the brick on https://brickhub.dev prior to uploading it.