Skip to content

Commit

Permalink
Split release into two workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Sep 30, 2024
1 parent bc7fb69 commit 0412841
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release-perform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Quarkiverse Perform Release
run-name: Perform ${{github.event.inputs.tag || github.ref_name}} Release
on:
push:
tags:
- '*'
workflow_dispatch:
inputs:
tag:
description: 'Tag to release'
required: true

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
perform-release:
name: Perform Release
uses: quarkiverse/.github/.github/workflows/perform-release.yml@main
secrets: inherit
with:
version: ${{github.event.inputs.tag || github.ref_name}}
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,3 @@ jobs:
if: ${{ github.event.pull_request.merged == true}}
uses: quarkiverse/.github/.github/workflows/prepare-release.yml@main
secrets: inherit

perform-release:
name: Perform Release
needs: prepare-release
uses: quarkiverse/.github/.github/workflows/perform-release.yml@main
secrets: inherit
with:
version: ${{needs.prepare-release.outputs.release-version}}

0 comments on commit 0412841

Please sign in to comment.