Skip to content

Commit eb020ee

Browse files
authored
Delete check-version job from build workflow
Removed check-version job from GitHub Actions workflow.
1 parent 5e44d3f commit eb020ee

1 file changed

Lines changed: 0 additions & 29 deletions

File tree

.github/workflows/build.yaml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,6 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
check-version:
10-
runs-on: ubuntu-latest
11-
outputs:
12-
release-version: ${{ steps.version.outputs.version }}
13-
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v4
16-
17-
- name: Get version
18-
id: version
19-
run: echo "version=$(mvn -f pom.xml help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
20-
21-
- name: Print version
22-
run: echo ${{ steps.version.outputs.version }}
23-
24-
- uses: mukunku/tag-exists-action@v1.6.0
25-
name: Check tag existence
26-
id: check-tag-exists
27-
with:
28-
tag: ${{ steps.version.outputs.version }}
29-
30-
- name: Tag verification
31-
id: check-tag
32-
run: |
33-
if [[ "${{ steps.check-tag-exists.outputs.exists }}" == "true" ]]; then
34-
echo "Nothing to tag/release, the tag ${{ steps.version.outputs.version }} already exists"
35-
exit 1
36-
fi
379
build-release:
3810
runs-on: ubuntu-latest
3911
steps:
@@ -69,7 +41,6 @@ jobs:
6941

7042
docker:
7143
needs:
72-
- check-version
7344
- build-release
7445
runs-on: ubuntu-latest
7546
steps:

0 commit comments

Comments
 (0)