Remove github-actions ::set-output command.

pull/342/head
Blarc 2 years ago committed by Jakub Chrzanowski
parent e95cbd35b0
commit fa28cdc87e

@ -68,10 +68,10 @@ jobs:
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
echo "::set-output name=version::$VERSION" echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "::set-output name=name::$NAME" echo "name=$NAME" >> $GITHUB_OUTPUT
echo "::set-output name=changelog::$CHANGELOG" echo "changelog=$CHANGELOG" >> $GITHUB_OUTPUT
echo "::set-output name=pluginVerifierHomeDir::~/.pluginVerifier" echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier ./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier
@ -125,7 +125,7 @@ jobs:
FILENAME=`ls *.zip` FILENAME=`ls *.zip`
unzip "$FILENAME" -d content unzip "$FILENAME" -d content
echo "::set-output name=filename::${FILENAME:0:-4}" echo "filename=${FILENAME:0:-4}" >> $GITHUB_OUTPUT
# Store already-built plugin as an artifact for downloading # Store already-built plugin as an artifact for downloading
- name: Upload artifact - name: Upload artifact

@ -44,7 +44,7 @@ jobs:
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
echo "::set-output name=changelog::$CHANGELOG" echo "changelog=$CHANGELOG" >> $GITHUB_OUTPUT
# Update Unreleased section with the current release note # Update Unreleased section with the current release note
- name: Patch Changelog - name: Patch Changelog

@ -3,6 +3,8 @@
# IntelliJ Platform Plugin Template Changelog # IntelliJ Platform Plugin Template Changelog
## [Unreleased] ## [Unreleased]
### Changed
- GitHub Actions - use `GITHUB_OUTPUT` environment file instead of `::set-output`.
### Changed ### Changed
- Dependencies - upgrade `org.jetbrains.kotlin.jvm` to `1.7.22` - Dependencies - upgrade `org.jetbrains.kotlin.jvm` to `1.7.22`

Loading…
Cancel
Save