Skip to content

Commit fbebb5a

Browse files
martypittclaude
andcommitted
Split release workflow so preflight-spec publishes independently
preflight-spec has no Orbital dependencies and must be published before Orbital can build, so run it as a separate step that won't fail when Orbital snapshots are unavailable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0923415 commit fbebb5a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ jobs:
3030
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
3131
run: echo "GPG key loaded"
3232

33-
- name: Build and publish
34-
run: ./gradlew build :preflight-spec:publishMavenPublicationToOrbitalRepository :preflight-core:preflight-gradle-plugin:publishPlugins :preflight-core:preflight-runtime:publishMavenPublicationToOrbitalRepository
33+
- name: Publish preflight-spec
34+
run: cd preflight-spec && ./gradlew build publishMavenPublicationToOrbitalRepository
35+
36+
- name: Build and publish preflight-core
37+
run: ./gradlew build :preflight-core:preflight-gradle-plugin:publishPlugins :preflight-core:preflight-runtime:publishMavenPublicationToOrbitalRepository
3538
env:
3639
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
3740
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}

0 commit comments

Comments
 (0)