Skip to content

update hdk_crud to match, holochain 0.1.6, hdk 0.1.4, hdi 0.2.4 #11

update hdk_crud to match, holochain 0.1.6, hdk 0.1.4, hdi 0.2.4

update hdk_crud to match, holochain 0.1.6, hdk 0.1.4, hdi 0.2.4 #11

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/[email protected]
with:
targets: wasm32-unknown-unknown
- name: Install holochain_cli
run: cargo install holochain_cli --version 0.1.0 --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/profiles/profiles.happ" --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