Skip to content

Commit 670d37e

Browse files
committed
chore[release]: add compat-gen-upload to release
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
1 parent c314c18 commit 670d37e

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/compat-gen-upload.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
name: Compat Fixture Upload
22

33
on:
4+
workflow_call:
5+
inputs:
6+
git_ref:
7+
description: "Git ref for version detection (e.g. v0.62.0). Defaults to HEAD."
8+
required: false
9+
type: string
10+
confirm_upload:
11+
description: "Set to 'yes' to confirm upload."
12+
required: true
13+
type: string
414
workflow_dispatch:
515
inputs:
616
git_ref:

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,10 @@ jobs:
110110
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEYPASSWORD }}
111111
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALUSERNAME }}
112112
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALPASSWORD }}
113+
114+
compat-upload:
115+
uses: ./.github/workflows/compat-gen-upload.yml
116+
with:
117+
git_ref: ${{ github.event.release.tag_name }}
118+
confirm_upload: "yes"
119+
secrets: inherit

0 commit comments

Comments
 (0)