Skip to content

Commit 4f97c7f

Browse files
test of attach-artifact
1 parent 9091676 commit 4f97c7f

File tree

2 files changed

+32
-31
lines changed

2 files changed

+32
-31
lines changed

.github/workflows/nightly-build.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ jobs:
4747
runs-on: ${{ matrix.os }}
4848
strategy:
4949
matrix:
50-
os: [ windows-latest, ubuntu-latest, macos-latest, macos-13 ]
50+
#os: [ windows-latest, ubuntu-latest, macos-latest, macos-13 ]
51+
os: [ windows-latest ]
5152

5253
steps:
5354
- uses: actions/checkout@v3

cli/pom.xml

+30-30
Original file line numberDiff line numberDiff line change
@@ -440,36 +440,36 @@
440440
</build>
441441
</profile>
442442

443-
<!-- <profile>-->
444-
<!-- <id>deploy</id>-->
445-
<!-- <build>-->
446-
<!-- <plugins>-->
447-
<!-- <plugin>-->
448-
<!-- <groupId>org.codehaus.mojo</groupId>-->
449-
<!-- <artifactId>build-helper-maven-plugin</artifactId>-->
450-
<!-- <version>3.4.0</version>-->
451-
<!-- <executions>-->
452-
<!-- <execution>-->
453-
<!-- <id>attach-artifacts</id>-->
454-
<!-- <phase>package</phase>-->
455-
<!-- <goals>-->
456-
<!-- <goal>attach-artifact</goal>-->
457-
<!-- </goals>-->
458-
<!-- <configuration>-->
459-
<!-- <artifacts>-->
460-
<!-- <artifact>-->
461-
<!-- <file>${project.build.directory}/${project.artifactId}-windows_x86_64.tar.gz</file>-->
462-
<!-- <type>tar.gz</type>-->
463-
<!-- <classifier>windows-x64</classifier>-->
464-
<!-- </artifact>-->
465-
<!-- </artifacts>-->
466-
<!-- </configuration>-->
467-
<!-- </execution>-->
468-
<!-- </executions>-->
469-
<!-- </plugin>-->
470-
<!-- </plugins>-->
471-
<!-- </build>-->
472-
<!-- </profile>-->
443+
<profile>
444+
<id>deploy</id>
445+
<build>
446+
<plugins>
447+
<plugin>
448+
<groupId>org.codehaus.mojo</groupId>
449+
<artifactId>build-helper-maven-plugin</artifactId>
450+
<version>3.4.0</version>
451+
<executions>
452+
<execution>
453+
<id>attach-artifacts</id>
454+
<phase>package</phase>
455+
<goals>
456+
<goal>attach-artifact</goal>
457+
</goals>
458+
<configuration>
459+
<artifacts>
460+
<artifact>
461+
<file>${project.build.directory}/${project.artifactId}-windows_x86_64.tar.gz</file>
462+
<type>tar.gz</type>
463+
<classifier>windows-x64</classifier>
464+
</artifact>
465+
</artifacts>
466+
</configuration>
467+
</execution>
468+
</executions>
469+
</plugin>
470+
</plugins>
471+
</build>
472+
</profile>
473473
</profiles>
474474

475475
</project>

0 commit comments

Comments
 (0)