Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Commit

Permalink
Release 6.14.0-1
Browse files Browse the repository at this point in the history
  • Loading branch information
hlolli committed Aug 7, 2020
1 parent 47cfee0 commit d41e114
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 52 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/default.yml

This file was deleted.

32 changes: 16 additions & 16 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,33 @@ on:
push:
branches:
- master # Change this to your default branch
workflow_dispatch:
inputs:
default:
description: "Default (build/test/lint)"
required: true
default: "default.yml"
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- uses: cachix/install-nix-action@v8
- uses: cachix/cachix-action@v6
with:
name: csound-wasm
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 10.0.0
- name: Download Artifact
uses: actions/download-artifact@master
with:
name: dist
- name: Uncompress dist archive
node-version: '14.x'
- name: Install npm dependencies via yarn
run: yarn install --immutable
- name: Test
run: yarn lint
- name: Compile csound natively to wasm
run: |
sudo apt-get install unzip
unzip ./dist.zip
rm dist.zip
ls
nix-build -E '(with import <nixpkgs> {}; import ./nix/native/compile.nix)' -o result_compile
# kinda-the same, but nix-build provides better logs than nix build
yarn compile
- name: Build javascript bundles
run: yarn release
- name: Publish if version has been updated
uses: pascalgn/npm-publish-action@06e0830ea83eea10ed4a62654eeaedafb8bf50fc
with: # All of theses inputs are optional
Expand Down

0 comments on commit d41e114

Please sign in to comment.