Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
spencewenski committed Oct 19, 2024
1 parent ee7d99a commit 5f9a54c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/feature_powerset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
index: ${{ fromJson(needs.generate_powerset.outputs.data).indexes }}
# env:
# powerset="${{ toJson(fromJson(needs.generate_powerset.outputs.data).powersets[ matrix.index ]) }}"
features: ${{ fromJson(needs.generate_powerset.outputs.data).powersets }}
steps:
- name: Foo
run: |
echo "${{ matrix.index }}"
features=$(echo -n "${{ toJson(fromJson(needs.generate_powerset.outputs.data).powersets[ matrix.index ]) }}" | awk '{ printf "%s", $0 }' | jq .[] | sed 's/^"\(.*\)"$/\1/')
echo "$features"
echo "${{ matrix.features }}"
for feature in "${{ matrix.features }}"; do
echo "$feature"
done
# echo "${{ matrix.index }}"
# features=$(echo -n "${{ toJson(fromJson(needs.generate_powerset.outputs.data).powersets[ matrix.index ]) }}" | awk '{ printf "%s", $0 }' | jq .[] | sed 's/^"\(.*\)"$/\1/')
# echo "$features"
# echo "$length"
# for i in $(seq 0 $length); do
# echo $i
Expand Down

0 comments on commit 5f9a54c

Please sign in to comment.