Skip to content

Commit e686293

Browse files
committed
chore: update workflow scripts
1 parent 8c933b7 commit e686293

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ jobs:
7878
- name: Publish SNAPSHOT version to GitHub Packages (we can skip tests, since we only deploy, if the build workflow succeeded)
7979
run: ./mvnw -B deploy --no-transfer-progress -P central-deploy -DskipTests
8080
env:
81-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81+
MAVEN_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
82+
MAVEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}
83+
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
8284

8385
- name: Extract Maven project version for Asciidoc GitHub Pages directory naming
8486
run: echo ::set-output name=version::$(./mvnw -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)

0 commit comments

Comments
 (0)