Skip to content

Commit 8b417ae

Browse files
committed
chore: Use github.event.inputs
1 parent 168051c commit 8b417ae

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
JRELEASER_NEXUS2_USERNAME: ${{ secrets.JRELEASER_NEXUS2_USERNAME }}
3030
JRELEASER_NEXUS2_PASSWORD: ${{ secrets.JRELEASER_NEXUS2_PASSWORD }}
3131
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32-
run: ./mvnw --no-transfer-progress -Prelease -Drevision=${{ inputs.version }} deploy jreleaser:full-release
32+
run: ./mvnw --no-transfer-progress -Prelease -Drevision=${{ github.event.inputs.version }} deploy jreleaser:full-release

pom.xml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,21 +62,26 @@
6262
<build>
6363
<pluginManagement>
6464
<plugins>
65-
<plugin>
66-
<groupId>org.apache.maven.plugins</groupId>
67-
<artifactId>maven-deploy-plugin</artifactId>
68-
<version>3.1.4</version>
69-
</plugin>
7065
<plugin>
7166
<groupId>org.sonarsource.scanner.maven</groupId>
7267
<artifactId>sonar-maven-plugin</artifactId>
7368
<version>5.2.0.4988</version>
7469
</plugin>
70+
<plugin>
71+
<groupId>org.apache.maven.plugins</groupId>
72+
<artifactId>maven-resources-plugin</artifactId>
73+
<version>3.3.1</version>
74+
</plugin>
7575
<plugin>
7676
<groupId>org.apache.maven.plugins</groupId>
7777
<artifactId>maven-jar-plugin</artifactId>
7878
<version>3.4.2</version>
7979
</plugin>
80+
<plugin>
81+
<groupId>org.apache.maven.plugins</groupId>
82+
<artifactId>maven-deploy-plugin</artifactId>
83+
<version>3.1.4</version>
84+
</plugin>
8085
</plugins>
8186
</pluginManagement>
8287
<plugins>

0 commit comments

Comments
 (0)