Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Hasnep/bundle-roc-library
📦 A GitHub Action to bundle and release a Roc library
https://github.com/Hasnep/bundle-roc-library
github-actions roc-lang
Last synced: 3 months ago
JSON representation
📦 A GitHub Action to bundle and release a Roc library
- Host: GitHub
- URL: https://github.com/Hasnep/bundle-roc-library
- Owner: Hasnep
- License: mit
- Created: 2023-03-07T08:44:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-14T06:07:58.000Z (over 1 year ago)
- Last Synced: 2024-02-11T15:12:24.103Z (9 months ago)
- Topics: github-actions, roc-lang
- Language: TypeScript
- Size: 231 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- roc-awesome - Hasnep/bundle-roc-library
README
# bundle-roc-library
A GitHub Action to bundle and release a Roc library.
## Usage
```yaml
name: Example workflowon:
# Run when a release is published
release:
types:
- publishedjobs:
bundle-and-release:
name: Bundle and release library
runs-on: ubuntu-latest
permissions:
contents: write # Used to upload the bundled library
steps:
- name: Check out the repository
uses: actions/checkout@v3
- name: Install Roc
uses: hasnep/setup-roc@main
with:
roc-version: nightly
- name: Bundle and release the library
uses: hasnep/bundle-roc-library@main
with:
library: path/to/main.roc # Path to the library's entrypoint
token: ${{ github.token }}
```