Skip to content

Commit b2a59a6

Browse files
committed
Disable Maven snapshots on main
1 parent 4c64db8 commit b2a59a6

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

.github/workflows/release-maven.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Release Maven Central
22
on:
33
push:
4-
branches: [main]
54
tags: ["*"]
65

76
jobs:
@@ -15,12 +14,6 @@ jobs:
1514
with:
1615
summarize: false
1716
- uses: DeterminateSystems/magic-nix-cache-action@v14
18-
- name: Publish snapshot ${{ github.ref }}
19-
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
20-
run: nix develop --command gradle --no-daemon publishToMavenCentral
21-
env:
22-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_PASSWORD }}
23-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_USERNAME }}
2417
- name: Publish release ${{ github.ref }}
2518
if: ${{ startsWith(github.ref, 'refs/tags/') }}
2619
run: |

0 commit comments

Comments
 (0)