Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: nightly

permissions:
contents: write

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make minstall
- name: publish binaries
run: |
dst=MicroHs-linux-x86_64.tar.gz
tar -czf "$dst" -C "$HOME" .mcabal
gh release create nightly --prerelease || (git tag nightly -f && git push --tags -f)
gh release upload nightly "$dst" --clobber
env:
GH_TOKEN: ${{ github.token }}