File tree Expand file tree Collapse file tree 1 file changed +1
-38
lines changed
Expand file tree Collapse file tree 1 file changed +1
-38
lines changed Original file line number Diff line number Diff line change 7070 prerelease : false
7171 generate_release_notes : true
7272
73- check-if-bin :
74- runs-on : ubuntu-latest
75- steps :
76- - name : Fetch Repository
77- uses : actions/checkout@v4
78-
79- - name : Run sccache-cache
80- uses : mozilla-actions/sccache-action@v0.0.6
81- env :
82- SCCACHE_GHA_ENABLED : " true"
83- RUSTC_WRAPPER : " sccache"
84-
85- - name : Install Stable Rust Toolchain
86- uses : dtolnay/rust-toolchain@master
87- with :
88- toolchain : stable
89-
90- - name : Install jql
91- uses : taiki-e/install-action@v2
92- with :
93- tool : jql
94-
95- - name : Searching for bin
96- id : searching
97- run : |
98- result=$(cargo metadata --format-version=1 --no-deps | jql '"packages"|>"targets"<|[1]|>"kind"' | jql '..' -i);
99- echo "targets=$result" >> "$GITHUB_OUTPUT";
100- echo kind of targets "$result";
101-
102- - name : print if skip upploading binaries to github release
103- if : ${{ !contains(steps.searching.outputs.targets, 'bin') }}
104- run : echo "This job avoid publishing binaries to github releases for libraries crates"
105-
106- outputs :
107- is_bin : ${{ contains(steps.searching.outputs.targets, 'bin') }}
108-
10973 build :
110- needs : [create-release, check-if-bin]
111- if : ${{ needs.check-if-bin.outputs.is_bin == 'true' }}
74+ needs : [create-release]
11275 strategy :
11376 fail-fast : false
11477 matrix :
You can’t perform that action at this time.
0 commit comments