Skip to content

fix ident

fix ident #5

name: Contract Showcase CI
on:
push:
paths:
- contracts_showcase/**
defaults:
run:
working-directory: ./contracts_showcase/
jobs:
find-out-changes:
runs-on: ubuntu-latest
outputs:
dirs: ${{ steps.changed-files.dirs }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
with:
dir_names: true
do-stuff:

Check failure on line 28 in .github/workflows/contract-showcase-ci.yml

View workflow run for this annotation

GitHub Actions / Contract Showcase CI

Invalid workflow file

The workflow is not valid. .github/workflows/contract-showcase-ci.yml (Line: 28, Col: 7): Unexpected value 'do-stuff'
runs-on: ubuntu-latest
strategy:
matrix: ${{fromJson(needs.find-out-changes.outputs.dirs)}}
needs:
- find-out-changes
steps:
- uses: actions/checkout@v3
- run: ls -la ${{ matrix.dir }}
# - name: Deploy
# run: |
# if npm run deploy | grep -q "Contract deployed"; then
# echo "Contract successfully deployed!"
# else
# echo "Failed to deploy contract ..."
# exit 1
# fi
# env:
# JSON_RPC_URL_PUBLIC: ${{ secrets.JSON_RPC_URL_PUBLIC }}
# WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}