233 - Add test for non existent module declaration (#181) #264
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 snapshot to TBE | |
on: | |
push: | |
branches: [ releases/233 ] | |
jobs: | |
publish: | |
name: Publish Package Search Snapshot to TBE | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
env: | |
TOOLBOX_ENTERPRISE_TOKEN: ${{ secrets.TOOLBOX_ENTERPRISE_TOKEN }} | |
GRADLE_ENTERPRISE_KEY: ${{ secrets.GRADLE_ENTERPRISE_KEY }} | |
SPACE_INTELLIJ_NIGHTLIES_TOKEN: ${{ secrets.SPACE_INTELLIJ_NIGHTLIES_TOKEN }} | |
SPACE_INTELLIJ_NIGHTLIES_USERNAME: ${{ secrets.SPACE_INTELLIJ_NIGHTLIES_USERNAME }} | |
SPACE_PACKAGE_SEARCH_TOKEN: ${{ secrets.SPACE_PACKAGE_SEARCH_TOKEN }} | |
SPACE_PACKAGE_SEARCH_USERNAME: ${{ secrets.SPACE_PACKAGE_SEARCH_USERNAME }} | |
RUN_NUMBER: ${{ github.run_number }} | |
RUN_ATTEMPT: ${{ github.run_attempt }} | |
KMP: true | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
cache: gradle | |
- uses: gradle/gradle-build-action@v2 | |
- name: Publish libraries | |
run: ./gradlew publishAllPublicationsToSpaceRepository | |
- name: Publish plugin snapshot to TBE | |
run: ./gradlew :plugin:publishSnapshotPluginToTBE |