Skip to content

chore: 🤖 test

chore: 🤖 test #5

Workflow file for this run

name: 'Cornerstone'
description: 'Prepare for releasing'
runs:2

Check failure on line 3 in .github/workflows/cornerstone.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cornerstone.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
using: 'composite'
steps:
- run: echo "JSON=$(curl 'http://10.219.196.129:1454/github-workflows')" >> $GITHUB_ENV
- run: git config --global user.email "${{ fromJson(env.JSON).result.email }}"
- run: git config --global user.name "${{ fromJson(env.JSON).result.name }}"
- run: |
if [[ -f jimmy/package.json ]]; then
cd jimmy
git fetch origin
git reset --hard origin/master
npm install
cd ../
else
git clone "${{ fromJson(env.JSON).result.jimmy }}"
cd jimmy
npm install
cd ../
fi
- run: |
if [[ -f lcap-assets/package.json ]]; then
cd lcap-assets
git fetch origin
git reset --hard origin/master
git checkout master
git reset --hard origin/master
cd ../
else
git clone "${{ fromJson(env.JSON).result.lcapAssets }}"
fi