Skip to content

Commit e81db97

Browse files
committed
Fix GitHub Packages publishing
1 parent c6c9fac commit e81db97

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/maven-publish.yaml

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Maven Package
2-
#on:
3-
# push:
4-
# tags:
5-
# - 'v*.*.*'
6-
on: workflow_dispatch
2+
on:
3+
push:
4+
tags:
5+
- 'v*.*.*'
76

87
jobs:
98
build:
@@ -57,5 +56,5 @@ jobs:
5756
run: |
5857
RELEASE_VERSION="${GITHUB_REF##*/}"
5958
RELEASE_VERSION="${RELEASE_VERSION:1}"
60-
REPO="gh::https://maven.pkg.github.com/${GITHUB_REPOSITORY}"
59+
REPO="gh::default::https://maven.pkg.github.com/${GITHUB_REPOSITORY}"
6160
mvn -B clean deploy -P dse -Drevision="$RELEASE_VERSION" -DskipTests -DaltDeploymentRepository="${REPO}" -DaltSnapshotDeploymentRepository="${REPO}"

0 commit comments

Comments
 (0)