Skip to content

Commit 0b3bd86

Browse files
authored
Update pre-release.yml
1 parent 0fa5995 commit 0b3bd86

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

.github/workflows/pre-release.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,12 @@ on:
55
paths:
66
- '.github/project.yml'
77

8-
jobs:
9-
release:
10-
runs-on: ubuntu-latest
11-
name: pre release
12-
13-
steps:
14-
- uses: radcortez/project-metadata-action@master
15-
name: retrieve project metadata
16-
id: metadata
17-
with:
18-
github-token: ${{secrets.GITHUB_TOKEN}}
19-
metadata-file-path: '.github/project.yml'
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
2011

21-
- name: Validate version
22-
if: contains(steps.metadata.outputs.current-version, 'SNAPSHOT')
23-
run: |
24-
echo '::error::Cannot release a SNAPSHOT version.'
25-
exit 1
12+
jobs:
13+
pre-release:
14+
name: Pre-Release
15+
uses: quarkiverse/.github/.github/workflows/pre-release.yml@main
16+
secrets: inherit

0 commit comments

Comments
 (0)