Skip to content

Commit

Permalink
Do not publish to GH packages
Browse files Browse the repository at this point in the history
  • Loading branch information
platan committed Oct 15, 2023
1 parent 7ce65e7 commit b26ed38
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ jobs:
run: |
VERSION=$(./gradlew currentVersion -q | grep "Project version")
echo "currentVersionInfo=$VERSION" >> "$GITHUB_OUTPUT"
- name: Publish package to GitHub Packages
if: ${{ contains(steps.current-version.outputs.currentVersionInfo, 'SNAPSHOT') }}
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
with:
arguments: :tests-execution-chart-commons:publishMavenJavaPublicationToGitHubPackagesRepository -i
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish package to Sonatype
if: ${{ contains(steps.current-version.outputs.currentVersion, 'SNAPSHOT') }}
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
Expand Down
10 changes: 0 additions & 10 deletions tests-execution-chart-commons/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@ publishing {
}
}
}
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/platan/tests-execution-chart")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}

tasks.test {
Expand Down

0 comments on commit b26ed38

Please sign in to comment.