Skip to content

Commit

Permalink
Update ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mx-smblt authored Apr 18, 2024
1 parent 1cf7cc6 commit 78e94f8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: CI/CD

on: workflow_dispatch
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -38,4 +46,4 @@ jobs:
REPOSITORY_RELEASES_URL: ${{ vars.REPOSITORY_RELEASES_URL }}
REPOSITORY_USERNAME: ${{ secrets.REPOSITORY_USERNAME }}
REPOSITORY_PASSWORD: ${{ secrets.REPOSITORY_PASSWORD }}
run: ./gradlew build koverXmlReport publish -Dkotest.tags="Unit | Component"
run: ./gradlew build publish -Dkotest.tags="Unit | Component"

0 comments on commit 78e94f8

Please sign in to comment.