Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
build.yml: provide proper plugin ZIP
Browse files Browse the repository at this point in the history
  • Loading branch information
YannCebron committed Oct 1, 2021
1 parent 5bed564 commit 9cbde4b
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,24 @@ jobs:
# 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
releaseDraft:
Expand Down

0 comments on commit 9cbde4b

Please sign in to comment.