v0.2.2 #6
Workflow file for this run
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
name: Bundle Release | |
on: | |
# Run when a release is published | |
release: | |
types: | |
- published | |
jobs: | |
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: package/main.roc # Path to the library's entrypoint | |
token: ${{ github.token }} |