Skip to content

Commit 04e7b46

Browse files
committed
Publish snapshot always
1 parent a89c4e6 commit 04e7b46

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

.github/workflows/build.main.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ workflow(
6767
id = "publish-snapshot",
6868
name = "Publish snapshot",
6969
runsOn = UbuntuLatest,
70-
condition = expr { "${github.ref} == 'refs/heads/main'" },
7170
env = mapOf(
7271
"ORG_GRADLE_PROJECT_sonatypeUsername" to expr("secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME"),
7372
"ORG_GRADLE_PROJECT_sonatypePassword" to expr("secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD"),

.github/workflows/build.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ jobs:
103103
env:
104104
ORG_GRADLE_PROJECT_sonatypeUsername: '${{ secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME }}'
105105
ORG_GRADLE_PROJECT_sonatypePassword: '${{ secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD }}'
106-
if: '${{ github.ref == ''refs/heads/main'' }}'
107106
steps:
108107
- id: 'step-0'
109108
uses: 'actions/checkout@v5'

0 commit comments

Comments
 (0)