build: not compile appkit unnecessarily on nightly builds

This commit is contained in:
LucasGGamerM 2023-12-15 18:21:28 -03:00
parent 928506b360
commit b8fe1fd640

View File

@ -11,27 +11,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Appkit Repo
uses: actions/checkout@v3
with:
repository: grishka/appkit
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
cache: gradle
- name: Comment out signing config in appkits gradle file
run: |
sed -i 's/sign publishing\.publications\.release/\/\/ sign publishing.publications.release/' appkit/maven-push.gradle
- name: Grant execute permission for gradlew for Appkit
run: chmod +x gradlew
- name: Compile appkit
run: ./gradlew publishToMavenLocal
# - name: Checkout Appkit Repo
# uses: actions/checkout@v3
# with:
# repository: grishka/appkit
#
# - name: set up JDK 17
# uses: actions/setup-java@v3
# with:
# java-version: '17'
# distribution: 'corretto'
# cache: gradle
#
# - name: Comment out signing config in appkits gradle file
# run: |
# sed -i 's/sign publishing\.publications\.release/\/\/ sign publishing.publications.release/' appkit/maven-push.gradle
#
# - name: Grant execute permission for gradlew for Appkit
# run: chmod +x gradlew
#
# - name: Compile appkit
# run: ./gradlew publishToMavenLocal
- uses: actions/checkout@v3
- name: set up JDK 17