You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ jobs:
118
118
119
119
See the help docs on [Publishing a Package with Gradle](https://help.github.com/en/github/managing-packages-with-github-packages/configuring-gradle-for-use-with-github-packages#example-using-gradle-groovy-for-a-single-package-in-a-repository) for more information on the `build.gradle` configuration file.
120
120
121
-
## Apache Maven within a self-hosted runner
121
+
## Apache Maven with a settings path
122
122
123
123
When using an Actions self-hosted runner with multiple shared runners the default `$HOME` directory can be shared by a number runners at the same time which could overwrite existing settings file. Setting the `settings-path` variable allows you to choose a unique location for your settings file.
124
124
@@ -137,11 +137,11 @@ jobs:
137
137
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
138
138
username: ${{ github.actor }} # username for server authentication
139
139
password: ${{ github.token }} # password or token for authentication
140
-
settings-path: ./config # location for the settings.xml file
140
+
settings-path: ${{ github.workspace }} # location for the settings.xml file
0 commit comments