mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-03-02 03:39:24 +00:00
GitHub Actions - use gradle:jdk8 container to provide Java
This commit is contained in:
committed by
Jakub Chrzanowski
parent
7c6a82d291
commit
b56e1f6835
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@@ -12,6 +12,7 @@ jobs:
|
||||
release:
|
||||
name: Publish Plugin
|
||||
runs-on: ubuntu-latest
|
||||
container: gradle:jdk8
|
||||
if: github.repository != 'JetBrains/intellij-platform-plugin-template'
|
||||
steps:
|
||||
|
||||
@@ -21,12 +22,6 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.event.release.tag_name }}
|
||||
|
||||
# Setup Java 1.8 environment for the next steps
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
|
||||
# Publish the plugin to the Marketplace
|
||||
- name: Publish Plugin
|
||||
env:
|
||||
@@ -38,6 +33,7 @@ jobs:
|
||||
name: Update Changelog
|
||||
needs: release
|
||||
runs-on: ubuntu-latest
|
||||
container: gradle:jdk8
|
||||
steps:
|
||||
|
||||
# Check out current repository
|
||||
@@ -46,12 +42,6 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.event.release.tag_name }}
|
||||
|
||||
# Setup Java 1.8 environment for the next steps
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
|
||||
# Update Unreleased section with the current version
|
||||
- name: Patch Changelog
|
||||
run: ./gradlew patchChangelog
|
||||
|
||||
Reference in New Issue
Block a user