Skip to content

Update IJ Platform (#245) #162

Update IJ Platform (#245)

Update IJ Platform (#245) #162

Workflow file for this run

name: Publish artifacts in Space
on:
release:
types: [ published ]
push:
branches: [ main ]
jobs:
publish-core:
name: Publish Jewel Core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17
cache: gradle
- name: Setup Gradle
run: chmod +x gradlew
- name: Run Gradle
# supported.ij.version is needed here for project configuration and won't be used during publishing
run: ./gradlew publishMainPublicationToSpaceRepository -Psupported.ij.version=232
env:
MAVEN_SPACE_USERNAME: ${{secrets.MAVEN_SPACE_USERNAME}}
MAVEN_SPACE_PASSWORD: ${{secrets.MAVEN_SPACE_PASSWORD}}
publish-ide:
name: Publish Jewel IDE part
needs: publish-core
runs-on: ubuntu-latest
strategy:
matrix:
supported-ij-version:
- 232
- 233
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17
cache: gradle
- name: Setup Gradle
run: chmod +x gradlew
- name: Run Gradle
run: ./gradlew publishIdeMainPublicationToSpaceRepository -Psupported.ij.version=${{ matrix.supported-ij-version }}
env:
MAVEN_SPACE_USERNAME: ${{secrets.MAVEN_SPACE_USERNAME}}
MAVEN_SPACE_PASSWORD: ${{secrets.MAVEN_SPACE_PASSWORD}}