Skip to content

Commit

Permalink
build artifacts renamed.
Browse files Browse the repository at this point in the history
  • Loading branch information
syslogic committed Dec 18, 2023
1 parent 417318d commit 67c73e4
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,23 @@ jobs:
runs-on: ubuntu-latest
steps:

# https://github.com/actions/checkout
- name: 🚚 Get latest code
uses: actions/checkout@v4

# https://github.com/actions/setup-java
# https://github.com/actions/setup-java
- name: ☕ Set up AWS Corretto JDK 17
uses: actions/setup-java@v4
with:
distribution: corretto
java-version: '17'
architecture: x64

# Run Gradle tasks
- name: Build module :library
run: ./gradlew :library:lint :library:assembleRelease

# Run Gradle tasks
- name: Build module :mobile
run: ./gradlew :mobile:lint :mobile:bundleDebug

Expand All @@ -46,18 +49,22 @@ jobs:
id: retain-library-aar
uses: actions/upload-artifact@v4
with:
name: androidx-github
name: androidx-github-lib
path: ./library/build/outputs/aar/*.aar
retention-days: 14

- name: 📦 Retain Artifacts (Debug AAB)
# https://github.com/actions/upload-artifact
- name: 📦 Retain Artifacts (AAB)
id: retain-app-debug-aab
uses: actions/upload-artifact@v4
with:
name: androidx-github-lib
path: ./mobile/build/outputs/bundle/debug/*.aab
name: androidx-github
path: |
./mobile/build/outputs/bundle/release/*.aab
./mobile/build/outputs/bundle/debug/*.aab
retention-days: 14

# https://github.com/actions/upload-artifact
- name: 📦 Retain Artifacts (Lint Results)
id: retain-lint-results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 67c73e4

Please sign in to comment.