Skip to content

Commit

Permalink
Create happ and webhapp in release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Jul 18, 2024
1 parent 736d3a5 commit 82146f0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,34 @@ on:
type: string

jobs:
happ:
permissions:
contents: write

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install nix
uses: cachix/install-nix-action@v27

- uses: cachix/cachix-action@v15
with:
name: esl-checked
extraPullNames: holochain-ci

- name: Build happ
run: |
nix develop --command npm ci
nix develop --command npm run package
cp workdir/checked.happ checked-${{ inputs.version }}.happ
cp workdir/checked.webhapp checked-${{ inputs.version }}.webhapp
gh release upload ${{ inputs.version }} happ-${{ inputs.version }}.happ --clobber
gh release upload ${{ inputs.version }} happ-${{ inputs.version }}.webhapp --clobber
checked_cli:
permissions:
contents: write
Expand Down

0 comments on commit 82146f0

Please sign in to comment.