diff --git a/cargo-dist/tests/snapshots/akaikatana_basic.snap b/cargo-dist/tests/snapshots/akaikatana_basic.snap index 9475ef042..65585dee8 100644 --- a/cargo-dist/tests/snapshots/akaikatana_basic.snap +++ b/cargo-dist/tests/snapshots/akaikatana_basic.snap @@ -1389,6 +1389,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: diff --git a/cargo-dist/tests/snapshots/akaikatana_repo_with_dot_git.snap b/cargo-dist/tests/snapshots/akaikatana_repo_with_dot_git.snap index 9475ef042..65585dee8 100644 --- a/cargo-dist/tests/snapshots/akaikatana_repo_with_dot_git.snap +++ b/cargo-dist/tests/snapshots/akaikatana_repo_with_dot_git.snap @@ -1389,6 +1389,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: diff --git a/cargo-dist/tests/snapshots/axolotlsay_basic.snap b/cargo-dist/tests/snapshots/axolotlsay_basic.snap index f45367232..4c9edd439 100644 --- a/cargo-dist/tests/snapshots/axolotlsay_basic.snap +++ b/cargo-dist/tests/snapshots/axolotlsay_basic.snap @@ -2284,6 +2284,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: diff --git a/cargo-dist/tests/snapshots/axolotlsay_edit_existing.snap b/cargo-dist/tests/snapshots/axolotlsay_edit_existing.snap index 31647c492..9d3b0887f 100644 --- a/cargo-dist/tests/snapshots/axolotlsay_edit_existing.snap +++ b/cargo-dist/tests/snapshots/axolotlsay_edit_existing.snap @@ -2259,6 +2259,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: diff --git a/cargo-dist/tests/snapshots/axolotlsay_no_homebrew_publish.snap b/cargo-dist/tests/snapshots/axolotlsay_no_homebrew_publish.snap index b5df6e902..6b743863b 100644 --- a/cargo-dist/tests/snapshots/axolotlsay_no_homebrew_publish.snap +++ b/cargo-dist/tests/snapshots/axolotlsay_no_homebrew_publish.snap @@ -2259,6 +2259,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: diff --git a/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign.snap b/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign.snap index cfa6bd425..e92514ae4 100644 --- a/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign.snap +++ b/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign.snap @@ -1377,6 +1377,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: diff --git a/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign_prod.snap b/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign_prod.snap index fc21ba4ae..ca2d9efd4 100644 --- a/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign_prod.snap +++ b/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign_prod.snap @@ -1377,6 +1377,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: