From 6150688cd740ce6ab91395b7cd6841879290bc39 Mon Sep 17 00:00:00 2001 From: Melloware Date: Wed, 24 Jan 2024 14:55:04 -0500 Subject: [PATCH] Update pre-release.yml --- .github/workflows/pre-release.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 63d9d0f..f1a1bbe 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -5,13 +5,21 @@ on: paths: - '.github/project.yml' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +defaults: + run: + shell: bash + jobs: release: runs-on: ubuntu-latest name: pre release steps: - - uses: radcortez/project-metadata-action@master + - uses: radcortez/project-metadata-action@main name: retrieve project metadata id: metadata with: @@ -22,4 +30,4 @@ jobs: if: contains(steps.metadata.outputs.current-version, 'SNAPSHOT') run: | echo '::error::Cannot release a SNAPSHOT version.' - exit 1 \ No newline at end of file + exit 1