You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# GitHub Actions Workflow created for handling the release process based on the draft release prepared with the Build workflow.
2
-
# Running the publishPlugin task requires all following secrets to be provided: PUBLISH_TOKEN, PRIVATE_KEY, PRIVATE_KEY_PASSWORD, CERTIFICATE_CHAIN.
2
+
# Running the publishPlugin task requires all the following secrets to be provided: PUBLISH_TOKEN, PRIVATE_KEY, PRIVATE_KEY_PASSWORD, CERTIFICATE_CHAIN.
3
3
# See https://plugins.jetbrains.com/docs/intellij/plugin-signing.html for more information.
4
4
5
5
name: Release
@@ -18,46 +18,43 @@ jobs:
18
18
pull-requests: write
19
19
steps:
20
20
21
+
# Free GitHub Actions Environment Disk Space
22
+
- name: Maximize Build Space
23
+
uses: jlumbroso/free-disk-space@v1.3.1
24
+
with:
25
+
tool-cache: false
26
+
large-packages: false
27
+
21
28
# Check out the current repository
22
29
- name: Fetch Sources
23
-
uses: actions/checkout@v4
30
+
uses: actions/checkout@v5
24
31
with:
25
32
ref: ${{ github.event.release.tag_name }}
26
33
27
-
# Set up Java environment for the next steps
34
+
# Set up the Java environment for the next steps
28
35
- name: Setup Java
29
-
uses: actions/setup-java@v4
36
+
uses: actions/setup-java@v5
30
37
with:
31
38
distribution: zulu
32
39
java-version: 21
33
40
34
41
# Setup Gradle
35
42
- name: Setup Gradle
36
-
uses: gradle/actions/setup-gradle@v4
43
+
uses: gradle/actions/setup-gradle@v5
37
44
with:
38
-
gradle-home-cache-cleanup: true
39
-
40
-
# Set environment variables
41
-
- name: Export Properties
42
-
id: properties
43
-
shell: bash
44
-
run: |
45
-
CHANGELOG="$(cat << 'EOM' | sed -e 's/^[[:space:]]*$//g' -e '/./,$!d'
46
-
${{ github.event.release.body }}
47
-
EOM
48
-
)"
49
-
50
-
echo "changelog<<EOF" >> $GITHUB_OUTPUT
51
-
echo "$CHANGELOG" >> $GITHUB_OUTPUT
52
-
echo "EOF" >> $GITHUB_OUTPUT
45
+
cache-read-only: true
53
46
54
47
# Update the Unreleased section with the current release note
0 commit comments