From e0324f4d0882d9145d8927f30376b1808d239a03 Mon Sep 17 00:00:00 2001 From: Colin Marquardt Date: Wed, 6 Mar 2024 19:44:29 +0100 Subject: [PATCH 1/4] Use modern GITHUB_ENV syntax --- .github/generate_matrix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/generate_matrix.sh b/.github/generate_matrix.sh index 9ca7957..cb100df 100755 --- a/.github/generate_matrix.sh +++ b/.github/generate_matrix.sh @@ -5,4 +5,4 @@ for item in $(cat tests.txt); do _matrix+="'$item', " done -echo "::set-output name=matrix::[$_matrix]" +echo "name=matrix::[$_matrix]" >> "$GITHUB_ENV" From 7e813bfb38b210c01e161bbd1b65467ba4c68d02 Mon Sep 17 00:00:00 2001 From: Colin Marquardt Date: Wed, 6 Mar 2024 19:45:57 +0100 Subject: [PATCH 2/4] Update actions/checkout to v4 --- .github/workflows/Test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index 5780f19..c47d359 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -15,7 +15,7 @@ jobs: steps: - name: '🧰 Checkout' - uses: actions/checkout@v2 + uses: actions/checkout@v4 - id: generate name: '🧾 generate_matrix.sh' @@ -33,7 +33,7 @@ jobs: steps: - name: '🧰 Checkout' - uses: actions/checkout@v1 + uses: actions/checkout@v4 with: submodules: recursive From 91f5334e82862531d64ef5a3ddd5b100af0bb2b5 Mon Sep 17 00:00:00 2001 From: Colin Marquardt Date: Wed, 6 Mar 2024 20:06:19 +0100 Subject: [PATCH 3/4] Fix the fix --- .github/generate_matrix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/generate_matrix.sh b/.github/generate_matrix.sh index cb100df..4aa8142 100755 --- a/.github/generate_matrix.sh +++ b/.github/generate_matrix.sh @@ -5,4 +5,4 @@ for item in $(cat tests.txt); do _matrix+="'$item', " done -echo "name=matrix::[$_matrix]" >> "$GITHUB_ENV" +echo "matrix=[$_matrix]" >> "$GITHUB_ENV" From 0423ce4863327dc38451161bc297c2b24fab55ea Mon Sep 17 00:00:00 2001 From: Colin Marquardt Date: Wed, 6 Mar 2024 20:14:05 +0100 Subject: [PATCH 4/4] Fix the fix 2 --- .github/generate_matrix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/generate_matrix.sh b/.github/generate_matrix.sh index 4aa8142..d931e75 100755 --- a/.github/generate_matrix.sh +++ b/.github/generate_matrix.sh @@ -5,4 +5,4 @@ for item in $(cat tests.txt); do _matrix+="'$item', " done -echo "matrix=[$_matrix]" >> "$GITHUB_ENV" +echo "matrix=[$_matrix]" >> "$GITHUB_OUTPUT"