Skip to content

Commit

Permalink
upgrade to use calcit tag; tag 0.8.15
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed May 28, 2023
1 parent 53fb111 commit 3aa0768
Show file tree
Hide file tree
Showing 6 changed files with 297 additions and 320 deletions.
33 changes: 12 additions & 21 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,21 @@ jobs:
node-version: 16
cache: yarn

- name: ACTIONS_ALLOW_UNSECURE_COMMANDS
id: ACTIONS_ALLOW_UNSECURE_COMMANDS
run: echo 'ACTIONS_ALLOW_UNSECURE_COMMANDS=true' >> $GITHUB_ENV

- name: add cr
run: |
mkdir -p $GITHUB_WORKSPACE/bin
wget -O $GITHUB_WORKSPACE/bin/cr https://github.com/calcit-lang/calcit/releases/download/0.6.20/cr
chmod +x $GITHUB_WORKSPACE/bin/cr
echo "::add-path::$GITHUB_WORKSPACE/bin"
- name: "prepare modules"
run: >
mkdir -p ~/.config/calcit/modules/ && cd ~/.config/calcit/modules/
&& git clone https://github.com/calcit-lang/lilac.git
&& git clone https://github.com/calcit-lang/memof.git
&& git clone https://github.com/Respo/respo.calcit.git
&& git clone https://github.com/Respo/reel.calcit.git
&& git clone https://github.com/Respo/respo-markdown.calcit.git
&& git clone https://github.com/Respo/respo-ui.calcit.git
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.7.0-a2/cr'
name: 'cr'
version: '0.7.0-a2'

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.7.0-a2/caps'
name: 'caps'
version: '0.7.0-a2'

- name: "compiles to js"
run: >
cr --emit-js --once
caps --ci && cr --emit-js --once
&& yarn && yarn vite build --base=./
- name: Deploy to server
Expand Down
Loading

0 comments on commit 3aa0768

Please sign in to comment.