Skip to content

Commit

Permalink
more configs and retry publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Apr 26, 2021
1 parent 36b0b8a commit aca70b5
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,20 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

- run: cargo build --release

- name: Deploy to server
id: deploy
uses: Pendect/[email protected]
env:
DEPLOY_KEY: ${{secrets.rsync_private_key}}
with:
flags: "-avzr --progress"
options: ""
ssh_options: ""
src: "target/release/calcit_runner"
dest: "[email protected]:/web-assets/repo/calcit-lang/binaries/linux/"

- name: Display status from deploy
run: echo "${{ steps.deploy.outputs.status }}"
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
[package]
name = "calcit_runner"
version = "0.3.0-a1"
version = "0.3.0-a2"
authors = ["jiyinyiyong <[email protected]>"]
edition = "2018"
license = "MIT"
description = "Interpreter and js codegen for Calcit"
homepage = "http://calcit-lang.org"
documentation = "https://docs.rs/crate/calcit_runner/"
repository = "https://github.com/calcit-lang/calcit_runner.rs"
readme = "README.md"
exclude = [
"lib/*",
"calcit/*",
"js-out/*",
]


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@calcit/procs",
"version": "0.3.0-a1",
"version": "0.3.0-a2",
"main": "./lib/calcit.procs.js",
"devDependencies": {
"@types/node": "^14.14.41",
Expand Down

0 comments on commit aca70b5

Please sign in to comment.