Skip to content

Commit 3e2fd81

Browse files
author
Marie Bonnissent
committed
ci(publish): Remove changelog step and add plugin publication
1 parent 1320de6 commit 3e2fd81

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

.github/workflows/release.yml

+3-10
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,15 @@ jobs:
3333
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
3434
restore-keys: |
3535
${{ runner.os }}-gradle-wrapper-
36-
# - name: Publish
37-
# run: ./gradlew check publishPlugin -PdownloadIdeaSources=false -PintellijPublishToken="$INTELLIJ_PUBLISH_TOKEN"
38-
# env:
39-
# INTELLIJ_PUBLISH_TOKEN: ${{ secrets.INTELLIJ_PUBLISH_TOKEN }}
40-
- name: changelog
41-
uses: ScottBrenner/generate-changelog-action@1.0.0
42-
id: Changelog
36+
- name: Publish
37+
run: ./gradlew check publishPlugin -PdownloadIdeaSources=false -PintellijPublishToken="$INTELLIJ_PUBLISH_TOKEN"
4338
env:
44-
REPO: ${{ github.repository }}
39+
INTELLIJ_PUBLISH_TOKEN: ${{ secrets.INTELLIJ_PUBLISH_TOKEN }}
4540
- name: Create Github release
4641
uses: actions/create-release@v1
4742
env:
4843
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4944
with:
5045
tag_name: ${{ github.ref }}
5146
release_name: Release ${{ github.ref }}
52-
body: |
53-
${{ steps.Changelog.outputs.changelog }}
5447
draft: true

.github/workflows/snapshot.yml

+3-10
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,16 @@ jobs:
3232
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
3333
restore-keys: |
3434
${{ runner.os }}-gradle-wrapper-
35-
# - name: Publish
36-
# run: ./gradlew check publishPlugin -PdownloadIdeaSources=false -PintellijPublishToken="$INTELLIJ_PUBLISH_TOKEN" -PintellijPublishChannels="beta"
37-
# env:
38-
# INTELLIJ_PUBLISH_TOKEN: ${{ secrets.INTELLIJ_PUBLISH_TOKEN }}
39-
- name: changelog
40-
uses: ScottBrenner/generate-changelog-action@1.0.0
41-
id: Changelog
35+
- name: Publish
36+
run: ./gradlew check publishPlugin -PdownloadIdeaSources=false -PintellijPublishToken="$INTELLIJ_PUBLISH_TOKEN" -PintellijPublishChannels="beta"
4237
env:
43-
REPO: ${{ github.repository }}
38+
INTELLIJ_PUBLISH_TOKEN: ${{ secrets.INTELLIJ_PUBLISH_TOKEN }}
4439
- name: Create Github release
4540
uses: actions/create-release@v1
4641
env:
4742
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4843
with:
4944
tag_name: ${{ github.ref }}
5045
release_name: Beta Release ${{ github.ref }}
51-
body: |
52-
${{ steps.Changelog.outputs.changelog }}
5346
prerelease: true
5447
draft: true

0 commit comments

Comments
 (0)