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
{{ message }}
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
The two `settings.xml` files created from the above example look like the following.
97
+
98
+
`settings.xml`file created for the first deploy to GitHub Packages
99
+
```xml
100
+
<servers>
101
+
<server>
102
+
<id>github</id>
103
+
<username>${env.GITHUB_ACTOR}</username>
104
+
<password>${env.GITHUB_TOKEN}</password>
105
+
</server>
106
+
</servers>
107
+
```
108
+
109
+
`settings.xml`file created for the second deploy to Apache Maven Central
110
+
```xml
111
+
<servers>
112
+
<server>
113
+
<id>maven</id>
114
+
<username>${env.MAVEN_USERNAME}</username>
115
+
<password>${env.MAVEN_CENTRAL_TOKEN}</password>
116
+
</server>
117
+
</servers>
94
118
```
95
119
96
120
***NOTE: The `settings.xml` file is created in the Actions $HOME directory. If you have an existing `settings.xml` file at that location, it will be overwritten. See below for using the `settings-path` to change your `settings.xml` file location.***
0 commit comments