Skip to content

feat: control versions at the same place #8

feat: control versions at the same place

feat: control versions at the same place #8

Workflow file for this run

name: Build a preview plugin
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'zulu'
- name: Build with Gradle
run: |
chmod +x ./gradlew
./gradlew :plugin:shadowJar
- name: Rename jar
run: |
mv "plugin/build/libs/plugin-all.jar" "plugin/build/libs/kotlinx-${{ github.sha }}.jar"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: plugin-preview-build-${{ github.sha }}
path: plugin/build/libs/kotlinx-${{ github.sha }}.jar