Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement release workflow #480

Merged
merged 7 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches:
- 'main'
- 'release-v**'
tags:
- 'v[0-9]*'
pull_request:

jobs:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Patch

on:
workflow_dispatch:
inputs:
branchRef:
description: 'Patch branch (format: release-vX.Y.Z)'
required: true
type: string

jobs:
run-patch:
uses: powsybl/github-ci/.github/workflows/patch-backend-lib-generic.yml@859a4effdaa9c5e79684378f39778fd8d06df3c5
with:
githubappId: ${{ vars.POWSYBL_ACTIONS_APPID }}
branchRef: ${{ github.event.inputs.branchRef }}
secrets:
githubappPrivateKey: ${{ secrets.POWSYBL_ACTIONS_SECRET }}
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release

on:
workflow_dispatch:
inputs:
versionType:
description: 'Version type increment (major | minor)'
required: true
type: choice
options:
- major
- minor

jobs:
run-release:
uses: powsybl/github-ci/.github/workflows/release-backend-lib-generic.yml@859a4effdaa9c5e79684378f39778fd8d06df3c5
with:
githubappId: ${{ vars.POWSYBL_ACTIONS_APPID }}
versionType: ${{ github.event.inputs.versionType }}
secrets:
githubappPrivateKey: ${{ secrets.POWSYBL_ACTIONS_SECRET }}
Loading