Skip to content

Commit

Permalink
CI: release libs, server, bridge with manual workflows
Browse files Browse the repository at this point in the history
Changes all workflows related to Releases so they are manually
triggered.

Continuing to iron out the kinks of the new `dist` based workflow used
for building/releasing the CLI.

It looks as though the "release published" event we tried to trigger
these on doesn't fire in some cases. Rumors suggest having a release
published by an automation rather than a real person could be the
difference.

For now as a workaround, let's trigger these manually. It's tedious, but
we can likely add One More Workflow to kick them all off on our behalf
as a 2nd step.

Additional: a new workflow called "Mega Releaser" aims to try and kick
off all the rest. It might work. It might not. TBD.
  • Loading branch information
svix-onelson committed Jan 4, 2025
1 parent 3c76055 commit 489b33d
Show file tree
Hide file tree
Showing 12 changed files with 78 additions and 22 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/bridge-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: Bridge Release

on:
release:
types: [published]
workflow_dispatch:
workflow_run:
workflows:
- Mega Releaser
types:
- completed


env:
CARGO_TERM_COLOR: always
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/csharp-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: C# Release

on:
release:
types: [published]
workflow_dispatch:
workflow_run:
workflows:
- Mega Releaser
types:
- completed

jobs:
dotnet:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/java-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Java Release

on:
release:
types: [published]
workflow_dispatch:
workflow_run:
workflows:
- Mega Releaser
types:
- completed

jobs:
dotnet:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/javascript-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ on:
- 'openapi.json'
- 'javascript/**'
- '.github/workflows/javascript-release.yml'
release:
types: [published]
workflow_dispatch:
workflow_run:
workflows:
- Mega Releaser
types:
- completed

jobs:
build:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/kotlin-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Kotlin Release

on:
release:
types: [published]
workflow_dispatch:
workflow_run:
workflows:
- Mega Releaser
types:
- completed

jobs:
kotlin:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/mega-releaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Mega Releaser

on: workflow_dispatch


jobs:
kick-off:
name: Kick-off Releases
runs-on: ubuntu-latest
steps:
- run: /bin/true
8 changes: 6 additions & 2 deletions .github/workflows/php-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: PHP Release

on:
release:
types: [published]
workflow_dispatch:
workflow_run:
workflows:
- Mega Releaser
types:
- completed

jobs:
packagist:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Python Release

on:
release:
types: [published]
workflow_dispatch:
workflow_run:
workflows:
- Mega Releaser
types:
- completed

jobs:
build:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/ruby-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Ruby Release

on:
release:
types: [published]
workflow_dispatch:
workflow_run:
workflows:
- Mega Releaser
types:
- completed

jobs:
dotnet:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/rust-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Rust Release

on:
release:
types: [published]
workflow_dispatch:
workflow_run:
workflows:
- Mega Releaser
types:
- completed

env:
CARGO_TERM_COLOR: always
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/server-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Server Release

on:
release:
types: [published]
workflow_dispatch:
workflow_run:
workflows:
- Mega Releaser
types:
- completed

env:
CARGO_TERM_COLOR: always
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/update-postman.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Update Postman Collection

on:
release:
types: [published]
workflow_dispatch:
workflow_run:
workflows:
- Mega Releaser
types:
- completed

jobs:
postman:
Expand Down

0 comments on commit 489b33d

Please sign in to comment.