Skip to content

Commit

Permalink
Add bundle workflow using hasnep/bundle-roc-library
Browse files Browse the repository at this point in the history
  • Loading branch information
agu-z committed Apr 12, 2024
1 parent b40f288 commit 6a15933
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

on:
# Run when a release is published
release:
types:
- published

jobs:
bundle:
name: Bundle
runs-on: ubuntu-latest
permissions:
contents: write
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/[email protected]
with:
library: package/main.roc
token: ${{ github.token }}

0 comments on commit 6a15933

Please sign in to comment.