Skip to content

Commit 5333a9c

Browse files
committed
Try new deployment
1 parent 677b6e6 commit 5333a9c

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
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

app/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ POM_DEVELOPER_URL=https://github.com/MV-GH
2222

2323
POM_ARTIFACT_ID=lemmy-api
2424
GROUP=it.vercruysse.lemmyapi
25-
VERSION_NAME=0.5.0-alpha.2
25+
VERSION_NAME=0.5.0-alpha.3
2626

0 commit comments

Comments
 (0)