Skip to content

bump to hc 0.4-rc.0 and update holonix #16

bump to hc 0.4-rc.0 and update holonix

bump to hc 0.4-rc.0 and update holonix #16

Workflow file for this run

name: Release
on:
push:
tags:
- v[0-9]+.*
jobs:
# the create-release would be used once we want to create a specific release based on if the commit has a tag
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1
env:
# (required)
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-and-release-happ:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.74
with:
targets: wasm32-unknown-unknown
- name: Install holochain_cli
run: cargo install holochain_cli --version 0.4.0-dev.5 --locked
# build hApp
- name: Build hApp
run: bash ./scripts/happ-pack.sh
- name: upload dna and happs to the new release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload "${GITHUB_REF#refs/tags/}" "happ/workdir/profiles.dna" --clobber
gh release upload "${GITHUB_REF#refs/tags/}" "happ/workdir/projects.dna" --clobber
gh release upload "${GITHUB_REF#refs/tags/}" "happ/workdir/projects/projects.happ" --clobber
gh release upload "${GITHUB_REF#refs/tags/}" "happ/workdir/acorn.happ" --clobber