Skip to content

Commit

Permalink
Intellij Platform Plugin migration - fix the artifact name in github …
Browse files Browse the repository at this point in the history
…workflow
  • Loading branch information
whimet committed Jan 1, 2025
1 parent 6d6cf85 commit a51fc74
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,14 @@ jobs:
CHANGELOG="${CHANGELOG//'%'/'%25'}"
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
ARTIFACT="${NAME}-${VERSION}.zip"
REPO_NAME=${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/}
ARTIFACT="${REPO_NAME}-${VERSION}.zip"
echo "::set-output name=version::$VERSION"
echo "::set-output name=name::$NAME"
echo "::set-output name=changelog::$CHANGELOG"
echo "::set-output name=artifact::$ARTIFACT"
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "name=$NAME" >> $GITHUB_OUTPUT
echo "changelog=$CHANGELOG" >> $GITHUB_OUTPUT
echo "artifact=$ARTIFACT" >> $GITHUB_OUTPUT
# Build artifact using buildPlugin Gradle task
- name: Build Plugin
Expand All @@ -155,7 +157,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: plugin-artifact
path: ./build/distributions/${{ needs.build.outputs.artifact }}
path: ./build/distributions/${{ steps.properties.outputs.artifact }}
if-no-files-found: error

# Prepare a draft release for GitHub Releases page for the manual verification
Expand Down

0 comments on commit a51fc74

Please sign in to comment.