Add mvn installation to publish workflow
Deploy to Maven Repository / deploy (release) Failing after 4m50s

This commit is contained in:
2026-05-24 15:37:55 +02:00
parent c393fb4fa6
commit d4f99a672f
2 changed files with 17 additions and 16 deletions
+4 -3
View File
@@ -23,10 +23,11 @@ jobs:
id: get_version
run: echo "version=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
- name: Install Maven
run: sudo apt-get install -y maven
- name: Set version from release tag
run: |
export PATH="$JAVA_HOME/../bin:$PATH"
mvn -B versions:set -DnewVersion="${{ github.event.release.tag_name }}" -DgenerateBackupPoms=false
run: mvn -B versions:set -DnewVersion="${{ github.event.release.tag_name }}" -DgenerateBackupPoms=false
- name: Build plugin
run: mvn -B -U -C clean package -DskipTests
+13 -13
View File
@@ -5,7 +5,7 @@
</component>
<component name="ChangeListManager">
<list default="true" id="98c311c3-6130-4449-9bcb-07029b56b776" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/.gitea/workflows/publish.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gitea/workflows/publish.yml" beforeDir="false" afterPath="$PROJECT_DIR$/.gitea/workflows/publish.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
@@ -33,19 +33,19 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"ModuleVcsDetector.initialDetectionPerformed": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.git.unshallow": "true",
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
"codeWithMe.voiceChat.enabledByDefault": "false",
"git-widget-placeholder": "main",
"kotlin-language-version-configured": "true",
"nodejs_package_manager_path": "npm",
"vue.rearranger.settings.migration": "true"
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;ModuleVcsDetector.initialDetectionPerformed&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
&quot;RunOnceActivity.typescript.service.memoryLimit.init&quot;: &quot;true&quot;,
&quot;codeWithMe.voiceChat.enabledByDefault&quot;: &quot;false&quot;,
&quot;git-widget-placeholder&quot;: &quot;main&quot;,
&quot;kotlin-language-version-configured&quot;: &quot;true&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
}
}]]></component>
}</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="98c311c3-6130-4449-9bcb-07029b56b776" name="Changes" comment="" />