File tree Expand file tree Collapse file tree 2 files changed +3
-28
lines changed
Expand file tree Collapse file tree 2 files changed +3
-28
lines changed Original file line number Diff line number Diff line change 2727
2828 - name : Publish to GitHub Packages Apache Maven
2929 run : |
30- mvn deploy -Pdeploy -openapi-cdoc2-key-shares -s $GITHUB_WORKSPACE/settings.xml
31- mvn deploy -Pdeploy -openapi-cdoc2-key-capsules -s $GITHUB_WORKSPACE/settings.xml
30+ mvn deploy -Dexecution.id=deploy -openapi-cdoc2-key-shares -s $GITHUB_WORKSPACE/settings.xml
31+ mvn deploy -Dexecution.id=deploy -openapi-cdoc2-key-capsules -s $GITHUB_WORKSPACE/settings.xml
3232 env :
3333 GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 118118
119119 </executions >
120120 </plugin >
121- <!-- if exact RELEASE version of module already exists, -->
122- <!-- then skip deployment by setting maven.deploy.skip=true property for that module -->
123- <!-- GitHub doesn't allow overwriting existing RELEASE modules and deploy will fail with HTTP 409 -->
124- <plugin >
125- <groupId >org.honton.chas</groupId >
126- <artifactId >exists-maven-plugin</artifactId >
127- <version >0.13.0</version >
128- <executions >
129- <execution >
130- <phase >install</phase >
131- <goals >
132- <goal >remote</goal >
133- </goals >
134- <configuration >
135- <!-- run only if deploy goal is specified in maven command line -->
136- <requireGoal >deploy</requireGoal >
137- </configuration >
138- </execution >
139- </executions >
140- <configuration >
141- <failIfNotMatch >false</failIfNotMatch >
142- <userProperty >true</userProperty >
143- <!-- skip>true</skip-->
144- </configuration >
145- </plugin >
146121 <plugin >
147122 <artifactId >maven-install-plugin</artifactId >
148123 <version >3.1.2</version >
193168 <goal >deploy-file</goal >
194169 </goals >
195170 <configuration >
196- <skip >false </skip >
171+ <skip >true </skip >
197172 <file >${project.basedir} /cdoc2-key-capsules-openapi.yaml</file >
198173 <groupId >ee.cyber.cdoc2.openapi</groupId >
199174 <artifactId >cdoc2-key-capsules-openapi</artifactId >
You can’t perform that action at this time.
0 commit comments