Skip to content

Commit 29a210a

Browse files
committed
Properly configure update samples
1 parent 6f8b4b6 commit 29a210a

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed

.github/workflows/release-perform.yml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,26 @@ concurrency:
2121

2222
jobs:
2323
perform-release:
24-
steps:
25-
- name: Perform Release
26-
uses: quarkiverse/.github/.github/workflows/perform-release.yml@main
27-
secrets: inherit
28-
with:
29-
version: ${{github.event.inputs.tag || github.ref_name}}
30-
java_version: 23
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}}
29+
java_version: 23
3130

32-
- name: Update dependency versions for the samples
33-
run: |
34-
while IFS= read -r -d '' pom
35-
do
36-
./mvnw org.codehaus.mojo:versions-maven-plugin:2.16.2:set-property -Dproperty=quarkus-langchain4j.version -DnewVersion=${{steps.metadata.outputs.current-version}} -f "$(dirname "$pom")";
37-
done < <(find samples/ -name pom.xml -print0)
38-
git commit -a -m "Update dependencies in samples"
31+
post-release:
32+
name: Post release tasks
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: Update dependency versions for the samples
36+
run: |
37+
while IFS= read -r -d '' pom
38+
do
39+
./mvnw org.codehaus.mojo:versions-maven-plugin:2.16.2:set-property -Dproperty=quarkus-langchain4j.version -DnewVersion=${{steps.metadata.outputs.current-version}} -f "$(dirname "$pom")";
40+
done < <(find samples/ -name pom.xml -print0)
41+
git commit -a -m "Update dependencies in samples"
3942
40-
- name: Push changes to ${{github.base_ref}} branch
41-
run: |
42-
git push
43-
git push origin ${{steps.metadata.outputs.current-version}}
43+
- name: Push changes to ${{github.base_ref}} branch
44+
run: |
45+
git push
46+
git push origin ${{steps.metadata.outputs.current-version}}

0 commit comments

Comments
 (0)