Prepare plugin archive content to be archived once #186

pull/204/head
Jakub Chrzanowski 3 years ago committed by Jakub Chrzanowski
parent e73e540469
commit 0f78353bdc

@ -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

Loading…
Cancel
Save