Skip to content

Commit bd9edda

Browse files
committed
runner updated.
1 parent a81b144 commit bd9edda

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

.github/workflows/android-ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,19 @@ jobs:
3333
architecture: x64
3434

3535
- name: Build with Gradle
36-
run: ./gradlew :mobile:bundleDebug
36+
run: ./gradlew :library:lint :mobile:lint :mobile:bundleDebug
37+
38+
# https://github.com/actions/upload-artifact
39+
- name: 📦 Retain Artifacts (Release AAR)
40+
id: retain-library-aar
41+
uses: actions/upload-artifact@v3
42+
with:
43+
name: androidx-github
44+
path: ./library/build/outputs/aar/*.aar
45+
retention-days: 14
3746

3847
- name: 📦 Retain Artifacts (Debug AAB)
39-
id: retain-debug-aab
48+
id: retain-app-debug-aab
4049
uses: actions/upload-artifact@v3
4150
with:
4251
name: androidx-github
@@ -48,5 +57,7 @@ jobs:
4857
uses: actions/upload-artifact@v3
4958
with:
5059
name: androidx-github
51-
path: ./mobile/build/reports/*
60+
path: |
61+
./library/build/reports/*
62+
./mobile/build/reports/*
5263
retention-days: 14

mobile/src/main/java/io/syslogic/github/fragment/WorkflowJobsFragment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ public class WorkflowJobsFragment extends BaseFragment {
4343
Long repositoryId = -1L;
4444

4545
/** The repository's owner. */
46-
private String repositoryOwner;
46+
String repositoryOwner;
4747

4848
/** The repository's name. */
49-
private String repositoryName;
49+
String repositoryName;
5050

5151
/** The workflow run's ID. */
5252
private Long runId = -1L;

mobile/src/main/java/io/syslogic/github/recyclerview/RepositoriesAdapter.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ public class RepositoriesAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
5656

5757
ArrayList<Repository> mItems = new ArrayList<>();
5858

59-
private static WeakReference<Context> mContext;
60-
61-
59+
static WeakReference<Context> mContext;
6260

6361
/** This may add the account in debug mode and therefore must be called first. */
6462
private String accessToken = null;

0 commit comments

Comments
 (0)