|
@@ -7,6 +7,31 @@ on:
|
|
|
branches: [ experiments-with-ghactions ]
|
|
branches: [ experiments-with-ghactions ]
|
|
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
|
|
|
+ wtfisthis:
|
|
|
|
|
+ name: Path lister
|
|
|
|
|
+ runs-on: ubuntu-latest
|
|
|
|
|
+ steps:
|
|
|
|
|
+ - name: Set up Python 3.7
|
|
|
|
|
+ uses: actions/setup-python@v1
|
|
|
|
|
+ with:
|
|
|
|
|
+ python-version: "3.7"
|
|
|
|
|
+
|
|
|
|
|
+ - uses: actions/checkout@v1
|
|
|
|
|
+
|
|
|
|
|
+ - name: Fetch action
|
|
|
|
|
+ id: pl
|
|
|
|
|
+ uses: Rishabh510/Path-lister-action@master
|
|
|
|
|
+ with:
|
|
|
|
|
+ path: "."
|
|
|
|
|
+ type: "*"
|
|
|
|
|
+
|
|
|
|
|
+ - name: Output results
|
|
|
|
|
+ run: |
|
|
|
|
|
+ echo "Found ${{ steps.pl.outputs.path_count }} file(s) with this extension:"
|
|
|
|
|
+ for i in ${{ steps.pl.outputs.paths }}; do
|
|
|
|
|
+ echo $i
|
|
|
|
|
+ done
|
|
|
|
|
+
|
|
|
build:
|
|
build:
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
steps:
|