mirror of
https://github.com/chylex/IntelliJ-Rainbow-Brackets.git
synced 2025-05-29 19:34:08 +02:00
update workflows
This commit is contained in:
parent
53ea7c7ab7
commit
73c93f8337
.github/workflows
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -50,14 +50,14 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/caches
|
path: ~/.gradle/caches
|
||||||
key: ${{ runner.os }}-${{ github.head_ref }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts') }}
|
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts') }}
|
||||||
|
|
||||||
# Cache Gradle Wrapper
|
# Cache Gradle Wrapper
|
||||||
- name: Setup Gradle Wrapper Cache
|
- name: Setup Gradle Wrapper Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/wrapper
|
path: ~/.gradle/wrapper
|
||||||
key: ${{ runner.os }}-${{ github.head_ref }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
||||||
|
|
||||||
# Run detekt, ktlint and tests
|
# Run detekt, ktlint and tests
|
||||||
- name: Run Linters and Test
|
- name: Run Linters and Test
|
||||||
@ -93,14 +93,14 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/caches
|
path: ~/.gradle/caches
|
||||||
key: ${{ runner.os }}-${{ github.head_ref }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts') }}
|
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts') }}
|
||||||
|
|
||||||
# Cache Gradle Wrapper
|
# Cache Gradle Wrapper
|
||||||
- name: Setup Gradle Wrapper Cache
|
- name: Setup Gradle Wrapper Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/wrapper
|
path: ~/.gradle/wrapper
|
||||||
key: ${{ runner.os }}-${{ github.head_ref }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
||||||
|
|
||||||
# Set environment variables
|
# Set environment variables
|
||||||
- name: Export Properties
|
- name: Export Properties
|
||||||
@ -149,14 +149,14 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/caches
|
path: ~/.gradle/caches
|
||||||
key: ${{ runner.os }}-${{ github.head_ref }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts') }}
|
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts') }}
|
||||||
|
|
||||||
# Cache Gradle Wrapper
|
# Cache Gradle Wrapper
|
||||||
- name: Setup Gradle Wrapper Cache
|
- name: Setup Gradle Wrapper Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/wrapper
|
path: ~/.gradle/wrapper
|
||||||
key: ${{ runner.os }}-${{ github.head_ref }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
||||||
|
|
||||||
# Set environment variables
|
# Set environment variables
|
||||||
- name: Export Properties
|
- name: Export Properties
|
||||||
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -7,13 +7,11 @@ on:
|
|||||||
types: [prereleased, released]
|
types: [prereleased, released]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
# Prepare and publish the plugin to the Marketplace repository
|
# Prepare and publish the plugin to the Marketplace repository
|
||||||
release:
|
release:
|
||||||
name: Publish Plugin
|
name: Publish Plugin
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# Setup Java 1.8 environment for the next steps
|
# Setup Java 1.8 environment for the next steps
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
@ -31,17 +29,17 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/caches
|
path: ~/.gradle/caches
|
||||||
key: ${{ runner.os }}-${{ github.head_ref }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts') }}
|
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts') }}
|
||||||
|
|
||||||
# Cache Gradle Wrapper
|
# Cache Gradle Wrapper
|
||||||
- name: Setup Gradle Wrapper Cache
|
- name: Setup Gradle Wrapper Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/wrapper
|
path: ~/.gradle/wrapper
|
||||||
key: ${{ runner.os }}-${{ github.head_ref }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
||||||
|
|
||||||
# Publish the plugin to the Marketplace
|
# Publish the plugin to the Marketplace
|
||||||
- name: Publish Plugin
|
- name: Publish Plugin
|
||||||
env:
|
env:
|
||||||
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
token: ${{ secrets.PUBLISH_TOKEN }}
|
||||||
run: ./gradlew publishPlugin
|
run: ./gradlew publishPlugin
|
||||||
|
Loading…
Reference in New Issue
Block a user