Skip to content

Commit 06fcc8e

Browse files
committed
Split release into two workflows
1 parent 15ced36 commit 06fcc8e

File tree

3 files changed

+46
-62
lines changed

3 files changed

+46
-62
lines changed

.github/workflows/release-perform.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Quarkiverse Perform Release
2+
run-name: Perform ${{github.event.inputs.tag || github.ref_name}} Release
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
workflow_dispatch:
8+
inputs:
9+
tag:
10+
description: 'Tag to release'
11+
required: true
12+
13+
permissions:
14+
attestations: write
15+
id-token: write
16+
contents: read
17+
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
22+
jobs:
23+
perform-release:
24+
name: Perform Release
25+
uses: quarkiverse/.github/.github/workflows/perform-release.yml@main
26+
secrets: inherit
27+
with:
28+
version: ${{github.event.inputs.tag || github.ref_name}}

.github/workflows/release-prepare.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Quarkiverse Prepare Release
2+
3+
on:
4+
pull_request:
5+
types: [ closed ]
6+
paths:
7+
- '.github/project.yml'
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
prepare-release:
15+
name: Prepare Release
16+
if: ${{ github.event.pull_request.merged == true}}
17+
uses: quarkiverse/.github/.github/workflows/prepare-release.yml@main
18+
secrets: inherit

.github/workflows/release.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)