Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/BasicSample.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: BasicSample

on:
workflow_dispatch:
push:
branches:
- main
Expand All @@ -22,7 +23,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
Expand All @@ -36,7 +37,7 @@ jobs:
- name: Generate cache key
run: ./scripts/checksum.sh $SAMPLE_PATH checksum.txt

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.gradle/caches/modules-*
Expand All @@ -58,14 +59,14 @@ jobs:
working-directory: ${{ env.SAMPLE_PATH }}

- name: Upload build outputs (APKs)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-outputs-BasicSample
path: ${{ env.SAMPLE_PATH }}/app/build/outputs

- name: Upload build reports
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-reports-BasicSample
path: ${{ env.SAMPLE_PATH }}/app/build/reports
13 changes: 7 additions & 6 deletions .github/workflows/TwoWaySample.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: TwoWaySample

on:
workflow_dispatch:
push:
branches:
- main
Expand All @@ -22,21 +23,21 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties

- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11

- name: Generate cache key
run: ./scripts/checksum.sh $SAMPLE_PATH checksum.txt

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.gradle/caches/modules-*
Expand All @@ -58,14 +59,14 @@ jobs:
working-directory: ${{ env.SAMPLE_PATH }}

- name: Upload build outputs (APKs)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-outputs-TwoWaySample
path: ${{ env.SAMPLE_PATH }}/app/build/outputs

- name: Upload build reports
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-reports-TwoWaySample
path: ${{ env.SAMPLE_PATH }}/app/build/reports
path: ${{ env.SAMPLE_PATH }}/app/build/reports
3 changes: 2 additions & 1 deletion .github/workflows/copy-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: Duplicates main to old master branch
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
workflow_dispatch:
push:
branches: [ main ]

Expand All @@ -19,7 +20,7 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it,
# but specifies master branch (old default).
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: master
Expand Down
Loading