-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Petr Komissarov
committed
May 14, 2024
1 parent
2895de4
commit ad65abe
Showing
4 changed files
with
110 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Publish | ||
on: | ||
release: | ||
types: | ||
- released | ||
|
||
jobs: | ||
|
||
# Prepare and publish the plugin | ||
release: | ||
name: Publish Plugin | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
|
||
# Check out current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v4 | ||
|
||
# Set up Java environment for the next steps | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: zulu | ||
java-version: 17 | ||
|
||
# Setup Gradle | ||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
gradle-home-cache-cleanup: true | ||
|
||
# Build plugin | ||
- name: Build plugin | ||
run: | | ||
./gradlew buildPlugin | ||
cd ${{ github.workspace }}/build/distributions | ||
FILENAME=`ls *.zip` | ||
echo "filename=${FILENAME:0:-4}" >> $GITHUB_OUTPUT | ||
- name: Upload binaries to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ${{ github.workspace }}/build/distributions/${{ steps.artifact.outputs.filename }}.zip | ||
asset_name: ${{ steps.artifact.outputs.filename }}.zip | ||
tag: ${{ github.ref }} | ||
overwrite: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: "Create draft release" | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
update_draft_release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
pluginVersion=1.0.4 | ||
pluginGroup=ru.testit.management | ||
pluginName=testit_management | ||
pluginRepositoryUrl=https://github.com/testit-tms/testit-management/ | ||
pluginSinceBuild=231 | ||
pluginUntilBuild=241.* | ||
platformType=IC | ||
platformVersion=2024.1.1 | ||
platformPlugins= | ||
javaEncoding=UTF-8 | ||
javaVersion=17 | ||
kotlin.code.style=official | ||
kotlin.stdlib.default.dependency=false | ||
org.gradle.caching=true | ||
org.gradle.configuration-cache=true | ||
org.gradle.configureondemand=true | ||
org.gradle.parallel=true | ||
org.gradle.warning.mode=all | ||
org.gradle.welcome=never | ||
org.gradle.jvmargs=-XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC | ||
pluginVersion = 1.0.5 | ||
pluginGroup = ru.testit.management | ||
pluginName = testit_management | ||
pluginRepositoryUrl = https://github.com/testit-tms/testit-management/ | ||
pluginSinceBuild = 231 | ||
pluginUntilBuild = 241.* | ||
platformType = IC | ||
platformVersion = 2024.1.1 | ||
platformPlugins = | ||
javaEncoding = UTF-8 | ||
javaVersion = 17 | ||
kotlin.code.style = official | ||
kotlin.stdlib.default.dependency = false | ||
org.gradle.caching = true | ||
org.gradle.configuration-cache = true | ||
org.gradle.configureondemand = true | ||
org.gradle.parallel = true | ||
org.gradle.warning.mode = all | ||
org.gradle.welcome = never | ||
org.gradle.jvmargs = -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC |