Skip to content

Commit

Permalink
Merge pull request #1 from imclerran/add-bundle-workflow
Browse files Browse the repository at this point in the history
Add bundle release workflow
  • Loading branch information
shritesh authored Jun 10, 2024
2 parents b34c79c + ee581ec commit d6ec860
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/bundle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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 }}

0 comments on commit d6ec860

Please sign in to comment.