GitHub Actions - simplify plugin artifact upload in GitHub Actions workflow

This commit is contained in:
Jakub Chrzanowski
2026-05-04 10:53:44 +02:00
parent b98decf0d3
commit 5159eedbb8
2 changed files with 3 additions and 13 deletions

View File

@@ -57,23 +57,12 @@ jobs:
- name: Build plugin
run: ./gradlew buildPlugin
# Prepare plugin archive content for creating artifact
- name: Prepare Plugin Artifact
id: artifact
shell: bash
run: |
cd ${{ github.workspace }}/build/distributions
FILENAME=`ls *.zip`
unzip "$FILENAME" -d content
echo "filename=${FILENAME:0:-4}" >> $GITHUB_OUTPUT
# Store an already-built plugin as an artifact for downloading
- name: Upload artifact
uses: actions/upload-artifact@v6
with:
name: ${{ steps.artifact.outputs.filename }}
path: ./build/distributions/content/*/*
name: plugin-distribution
path: ./build/distributions/*.zip
# Run tests and upload a code coverage report
test:

View File

@@ -12,6 +12,7 @@
- Dependencies - upgrade `org.jetbrains.intellij.platform` to `2.16.0`
- Dependencies - upgrade IntelliJ IDEA to `2025.2.6.2`
- GitHub Actions - simplify plugin artifact upload in GitHub Actions workflow
### Removed