Skip to content

Commit

Permalink
Merge pull request #17 from JanCVanB/add_release_workflow
Browse files Browse the repository at this point in the history
Add workflow to bundle & upload library to releases
  • Loading branch information
JanCVanB authored May 19, 2024
2 parents daf49f3 + 222ed01 commit a553d3a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/bundle_for_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Bundle for release

on:
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 this library into .tar.br and upload it to latest release's assets
uses: hasnep/[email protected]
with:
library: package/main.roc
token: ${{ github.token }}

0 comments on commit a553d3a

Please sign in to comment.