Skip to content

Commit f9ac285

Browse files
committed
ci(release): adopt the common Certum SimplySign release workflow
Replace the legacy push-triggered SignClient/Azure-signing release with the shared Certum caller used across the reactiveui repos: workflow_dispatch with a bump input (major/minor/patch), build+sign via workflow-common-release.yml using CERTUM_* secrets, in-repo OIDC publish-nuget, then create-release.
1 parent 6b27ef3 commit f9ac285

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@ name: Release
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
bump:
7+
description: 'Release level'
8+
required: true
9+
type: choice
10+
options:
11+
- patch
12+
- minor
13+
- major
514

615
permissions:
716
contents: write
@@ -11,13 +20,13 @@ jobs:
1120
release:
1221
uses: reactiveui/actions-common/.github/workflows/workflow-common-release.yml@main
1322
with:
14-
solutionFile: reactiveui.sourcegenerators.slnx
23+
solutionFile: ReactiveUI.SourceGenerators.slnx
1524
installWorkloads: true
25+
bump: ${{ inputs.bump }}
1626
secrets:
17-
ES_USERNAME: ${{ secrets.ES_USERNAME }}
18-
ES_PASSWORD: ${{ secrets.ES_PASSWORD }}
19-
CREDENTIAL_ID: ${{ secrets.CREDENTIAL_ID }}
20-
ES_TOTP_SECRET: ${{ secrets.ES_TOTP_SECRET }}
27+
CERTUM_USER_ID: ${{ secrets.CERTUM_USER_ID }}
28+
CERTUM_OTP_URI: ${{ secrets.CERTUM_OTP_URI }}
29+
CERTUM_CERT_FINGERPRINT: ${{ secrets.CERTUM_CERT_FINGERPRINT }}
2130

2231
publish-nuget:
2332
needs: release
@@ -53,3 +62,4 @@ jobs:
5362
uses: reactiveui/actions-common/.github/workflows/workflow-common-create-release.yml@main
5463
with:
5564
version: ${{ needs.release.outputs.semver2 }}
65+
tag: ${{ needs.release.outputs.tag }}

0 commit comments

Comments
 (0)