diff --git a/.github/workflows/publishRelease.yml b/.github/workflows/publishRelease.yml index fd7dbe8..d0ab840 100644 --- a/.github/workflows/publishRelease.yml +++ b/.github/workflows/publishRelease.yml @@ -12,6 +12,7 @@ jobs: secrets: inherit publish: + needs: test name: Publish Production environment: production runs-on: ubuntu-latest diff --git a/.github/workflows/publishSnapshot.yml b/.github/workflows/publishSnapshot.yml index a01692d..e7031ed 100644 --- a/.github/workflows/publishSnapshot.yml +++ b/.github/workflows/publishSnapshot.yml @@ -32,4 +32,4 @@ jobs: SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} SIGNING_KEY: ${{ secrets.SIGNING_KEY }} SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }} - SNAPSHOT: false \ No newline at end of file + SNAPSHOT: true \ No newline at end of file diff --git a/README.md b/README.md index 6cc71b0..5a5a157 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Tree (Data Structure) [![maven](https://img.shields.io/maven-central/v/com.github.adriankuta/tree-structure?style=plastic)](https://mvnrepository.com/artifact/com.github.adriankuta/tree-structure) [![License: MIT](https://img.shields.io/github/license/AdrianKuta/Tree-Data-Structure?style=plastic)](https://github.com/AdrianKuta/Tree-Data-Structure/blob/master/LICENSE) -[![Publish](https://github.com/AdrianKuta/Tree-Data-Structure/actions/workflows/publish.yml/badge.svg)](https://github.com/AdrianKuta/Tree-Data-Structure/actions/workflows/publish.yml) +[![Publish](https://github.com/AdrianKuta/Tree-Data-Structure/actions/workflows/publishRelease.yml/badge.svg)](https://github.com/AdrianKuta/Tree-Data-Structure/actions/workflows/publish.yml) Simple implementation to store object in tree structure.