Update dependencies (#258) #170
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
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}} |