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