Skip to content

Commit

Permalink
Changed trigger and removed second build step
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeaninev committed Apr 12, 2023
1 parent 3b625a7 commit eda974e
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
name: release version

# Only trigger, when the build workflow succeeded
on:
push:
branches:
- main
workflow_run:
workflows: ["Build"]
types:
- completed

jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"

steps:
- uses: actions/checkout@v3

- name: Build and Test
uses: qcastel/github-actions-maven-cmd@master
with:
maven-args: "clean install -Ddockerfile.skip -DdockerCompose.skip -Djib.skip"

- name: Release
uses: qcastel/github-actions-maven-release@v1.12.31
env:
Expand Down

0 comments on commit eda974e

Please sign in to comment.