Skip to content

Commit

Permalink
Merge pull request #1383 from adwait-godbole/including-matrix-version…
Browse files Browse the repository at this point in the history
…s-file-in-the-artifact

Include the `matrix-versions.json` file for that implementation along with its versioned reports (better to merge after #1382)
  • Loading branch information
Julian authored Jul 24, 2024
2 parents 340e51a + 420f1f0 commit 0c794ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/versioned-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ jobs:
id: generate-new-versioned-report
run: |
impl=${{ matrix.implementation }}
MATRIX_VERSIONS=$(jq -r '.[]' "implementations/$impl/matrix-versions.json")
for version in $MATRIX_VERSIONS; do
MATRIX_VERSIONS_FILE="implementations/$impl/matrix-versions.json"
cp $MATRIX_VERSIONS_FILE $impl
for version in $(jq -r '.[]' $MATRIX_VERSIONS_FILE); do
SUPPORTED_DIALECTS=$(bowtie filter-dialects -i image:$impl:$version | xargs -I {} jq -r '.[] | select(.uri == "{}") | .shortName' data/dialects.json)
if [ -n "$SUPPORTED_DIALECTS" ]; then
mkdir "$impl/v$version"
Expand Down

0 comments on commit 0c794ac

Please sign in to comment.