File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 )
1616 runs-on : ${{ matrix.os }}
1717 strategy :
18+ max-parallel : 1
1819 matrix :
1920 os : [ macos-latest, ubuntu-latest, windows-latest ]
2021 environment : publish
Original file line number Diff line number Diff line change @@ -148,19 +148,19 @@ publishing {
148148 val targetPublication = this @all
149149 tasks.withType<AbstractPublishToMaven >()
150150 .matching { it.publication == targetPublication }
151- .configureEach { onlyIf { getHostOsName() == OS .LINUX } }
151+ .configureEach { isEnabled = getHostOsName() == OS .LINUX }
152152 }
153153 matching { it.name in publicationsFromWindows }.all {
154154 val targetPublication = this @all
155155 tasks.withType<AbstractPublishToMaven >()
156156 .matching { it.publication == targetPublication }
157- .configureEach { onlyIf { getHostOsName() == OS .WINDOWS } }
157+ .configureEach { isEnabled = getHostOsName() == OS .WINDOWS }
158158 }
159159 matching { it.name in publicationsFromMac }.all {
160160 val targetPublication = this @all
161161 tasks.withType<AbstractPublishToMaven >()
162162 .matching { it.publication == targetPublication }
163- .configureEach { onlyIf { getHostOsName() == OS .MAC } }
163+ .configureEach { isEnabled = getHostOsName() == OS .MAC }
164164 }
165165 }
166166}
Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ POM_DEVELOPER_URL=https://github.com/MV-GH
2222
2323POM_ARTIFACT_ID =lemmy-api
2424GROUP =it.vercruysse.lemmyapi
25- VERSION_NAME =0.5.0-alpha.2
25+ VERSION_NAME =0.5.0-alpha.3
2626
You can’t perform that action at this time.
0 commit comments