mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
Prepare plugin archive content to be archived once #186
This commit is contained in:
parent
e73e540469
commit
0f78353bdc
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@ -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…
Reference in New Issue
Block a user