Skip to content

Commit

Permalink
fix CI case when plugin published and runtime not compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex009 committed Jan 14, 2024
1 parent 6e06d86 commit 45c6db5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 17
- name: Publish plugin
run: ./gradlew -p resources-generator publishPlugins -Pgradle.publish.key=${{ secrets.GRADLE_PLUGIN_PORTAL_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_PLUGIN_PORTAL_SECRET }}
- name: Prebuild plugin
run: ./gradlew -p resources-generator publishToMavenLocal
- name: Prebuild library
run: ./gradlew publishToMavenLocal
- name: Publish library
run: ./gradlew publish --no-parallel
- name: Publish plugin
run: ./gradlew -p resources-generator publishPlugins -Pgradle.publish.key=${{ secrets.GRADLE_PLUGIN_PORTAL_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_PLUGIN_PORTAL_SECRET }}
release:
name: Create release
needs: publish
Expand Down

0 comments on commit 45c6db5

Please sign in to comment.