Skip to content

Commit

Permalink
workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Jun 12, 2023
1 parent a7b0fcd commit d57b953
Show file tree
Hide file tree
Showing 4 changed files with 524 additions and 472 deletions.
38 changes: 17 additions & 21 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,33 @@ jobs:
# runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: ACTIONS_ALLOW_UNSECURE_COMMANDS
id: ACTIONS_ALLOW_UNSECURE_COMMANDS
run: echo 'ACTIONS_ALLOW_UNSECURE_COMMANDS=true' >> $GITHUB_ENV
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'

- 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.1/cr
chmod +x $GITHUB_WORKSPACE/bin/cr
echo "::add-path::$GITHUB_WORKSPACE/bin"
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.7.0/cr'
name: 'cr'
version: '0.7.0'

- 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/respo-ui.calcit.git
&& git clone https://github.com/Phlox-GL/phlox.git
&& git clone https://github.com/Quatrefoil-GL/touch-control.git
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.7.0/caps'
name: 'caps'
version: '0.7.0'

- name: "compiles to js"
run: >
dev=false cr --emit-js --once
caps --ci && dev=false cr --emit-js --once
&& yarn && yarn vite build --base=./
- name: Deploy to server
id: deploy
uses: Pendect/action-rsyncer@v1.1.0
uses: Pendect/action-rsyncer@v2.0.0
env:
DEPLOY_KEY: ${{secrets.rsync_private_key}}
with:
Expand Down
8 changes: 8 additions & 0 deletions package.cirru
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{}
:dependencies $ {}
|calcit-lang/lilac |main
|calcit-lang/memof |main
|Respo/respo.calcit |main
|Respo/respo-ui.calcit |main
|Phlox-GL/phlox |main
|Quatrefoil-GL/touch-control |main
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
"author": "jiyinyiyong",
"license": "MIT",
"devDependencies": {
"vite": "^3.2.7"
"vite": "^4.3.9"
},
"dependencies": {
"@calcit/procs": "^0.6.1",
"@calcit/procs": "^0.7.0",
"@quamolit/phlox-utils": "^0.0.2",
"@quamolit/touch-control": "^0.0.11",
"bottom-tip": "^0.1.3",
"@quamolit/touch-control": "^0.0.13",
"bottom-tip": "^0.1.5",
"fontfaceobserver-es": "^3.3.3",
"nanoid": "^4.0.0",
"pixi.js": "6.5.0",
"nanoid": "^4.0.2",
"pixi.js": "7.2.4",
"shortid": "^2.2.16"
}
}
Loading

0 comments on commit d57b953

Please sign in to comment.