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 id: get_version
run: echo "version=${{ github.event.release.tag_name }}" >> $GITHUB_ENV 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 - name: Set version from release tag
run: | run: mvn -B versions:set -DnewVersion="${{ github.event.release.tag_name }}" -DgenerateBackupPoms=false
export PATH="$JAVA_HOME/../bin:$PATH"
mvn -B versions:set -DnewVersion="${{ github.event.release.tag_name }}" -DgenerateBackupPoms=false
- name: Build plugin - name: Build plugin
run: mvn -B -U -C clean package -DskipTests run: mvn -B -U -C clean package -DskipTests
+13 -13
View File
@@ -5,7 +5,7 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="98c311c3-6130-4449-9bcb-07029b56b776" name="Changes" comment=""> <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" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
@@ -33,19 +33,19 @@
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"><![CDATA[{ <component name="PropertiesComponent">{
"keyToString": { &quot;keyToString&quot;: {
"ModuleVcsDetector.initialDetectionPerformed": "true", &quot;ModuleVcsDetector.initialDetectionPerformed&quot;: &quot;true&quot;,
"RunOnceActivity.ShowReadmeOnStart": "true", &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
"RunOnceActivity.git.unshallow": "true", &quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
"RunOnceActivity.typescript.service.memoryLimit.init": "true", &quot;RunOnceActivity.typescript.service.memoryLimit.init&quot;: &quot;true&quot;,
"codeWithMe.voiceChat.enabledByDefault": "false", &quot;codeWithMe.voiceChat.enabledByDefault&quot;: &quot;false&quot;,
"git-widget-placeholder": "main", &quot;git-widget-placeholder&quot;: &quot;main&quot;,
"kotlin-language-version-configured": "true", &quot;kotlin-language-version-configured&quot;: &quot;true&quot;,
"nodejs_package_manager_path": "npm", &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
"vue.rearranger.settings.migration": "true" &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
} }
}]]></component> }</component>
<component name="TaskManager"> <component name="TaskManager">
<task active="true" id="Default" summary="Default task"> <task active="true" id="Default" summary="Default task">
<changelist id="98c311c3-6130-4449-9bcb-07029b56b776" name="Changes" comment="" /> <changelist id="98c311c3-6130-4449-9bcb-07029b56b776" name="Changes" comment="" />