|
|
|
@ -105,16 +105,29 @@ jobs:
|
|
|
|
|
uses: JetBrains/qodana-action@v2.1-eap
|
|
|
|
|
|
|
|
|
|
# Collect Qodana Result
|
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
|
|
- name: Collect Qodana Result
|
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
|
with:
|
|
|
|
|
name: qodana-result
|
|
|
|
|
path: ${{ github.workspace }}/qodana
|
|
|
|
|
|
|
|
|
|
# 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 "::set-output name=filename::$FILENAME"
|
|
|
|
|
|
|
|
|
|
# Store already-built plugin as an artifact for downloading
|
|
|
|
|
- name: Upload artifacts
|
|
|
|
|
- name: Upload artifact
|
|
|
|
|
uses: actions/upload-artifact@v2.2.4
|
|
|
|
|
with:
|
|
|
|
|
path: ./build/distributions/*
|
|
|
|
|
name: ${{ steps.artifact.outputs.filename }}
|
|
|
|
|
path: ./build/distributions/content/*/*
|
|
|
|
|
|
|
|
|
|
# Prepare a draft release for GitHub Releases page for the manual verification
|
|
|
|
|
# If accepted and published, release workflow would be triggered
|
|
|
|
|