Skip to content

Remove parse_duration dependency #668

Remove parse_duration dependency

Remove parse_duration dependency #668

Workflow file for this run

name: fast-bridge-protocol build contracts
on:
push:
pull_request:
branches: ["!main"]
workflow_dispatch:
jobs:
build_rust_contracts:
runs-on: [self-hosted]
steps:
- uses: actions/checkout@v3
- run: cd near; mkdir -p res; ./build.sh
- run: |
git status
changed_files=$(git status --porcelain --untracked-files=no | wc -l);
if [ $changed_files -gt 0 ]; then
ls -la near/res
echo 'contract changed, please rebuild contract'
exit 1
fi