Skip to content

Commit

Permalink
Try fixing github action
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed Nov 26, 2024
1 parent bc98bbf commit 1822d56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 64 deletions.
57 changes: 0 additions & 57 deletions .github/workflows/gradle6.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/gradle7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
java: ['11', '17']
java: ['17', '18']
distribution: ['temurin']
gradle: ['7.5.1']
fail-fast: false
Expand All @@ -17,30 +17,30 @@ jobs:
- uses: actions/checkout@v3

- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}

- name: Setup Android SDK
uses: android-actions/setup-android@v2.0.10
uses: android-actions/setup-android@v3

- name: Install build-tools 33.0.2, platformtools and platform android-33
run: sdkmanager --install "build-tools;33.0.2" "platform-tools" "platforms;android-33"
- name: Install build-tools 35.0.0, platformtools and platform android-33
run: sdkmanager --install "build-tools;35.0.0" "platform-tools" "platforms;android-35"

- name: Build with Gradle
run: |
./gradlew wrapper --gradle-version=${{ matrix.gradle }}
./gradlew clean build --stacktrace
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: groestlcoin-wallet-JAVA${{ matrix.java }}-${{ matrix.os }}-${{ matrix.gradle }}
path: |
wallet/build/outputs/apk/
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: groestlcoin-wallet-JAVA${{ matrix.java }}-${{ matrix.os }}-${{ matrix.gradle }}

0 comments on commit 1822d56

Please sign in to comment.