This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git
The following commit(s) were added to refs/heads/main by this push:
new c067ab899 avoid making the workspace dirty by setting up .jvmpopts
c067ab899 is described below
commit c067ab8998a54c7349bc2bfaf75afeff0808d7af
Author: Johannes Rudolph <[email protected]>
AuthorDate: Tue Mar 7 11:27:57 2023 +0100
avoid making the workspace dirty by setting up .jvmpopts
Otherwise, the version number will contain a timestamp because of the
dirty workspace.
---
.github/workflows/publish.yml | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index dfc158c7a..d3421f4c5 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -28,11 +28,8 @@ jobs:
- name: Install graphviz
run: sudo apt-get install -y graphviz
- - name: Enable jvm-opts
- run: cp .jvmopts-ci .jvmopts
-
- name: Publish to Apache Maven repo
- run: sbt +publish
+ run: sbt -jvm-opts .jvmopts-ci +publish
env:
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PW: ${{ secrets.NEXUS_PW }}
@@ -56,12 +53,9 @@ jobs:
- name: Cache Coursier cache
uses: coursier/cache-action@v6
- - name: Enable jvm-opts
- run: cp .jvmopts-ci .jvmopts
-
- name: Build Documentation
run: |-
- sbt -Dpekko.genjavadoc.enabled=true docs/paradox unidoc
+ sbt -jvm-opts .jvmopts-ci -Dpekko.genjavadoc.enabled=true
docs/paradox unidoc
# Create directory structure upfront since rsync does not create
intermediate directories otherwise
- name: Create nightly directory structure
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]