Skip to content

chore(deps): update actions/upload-artifact action to v4.4.3 #74

chore(deps): update actions/upload-artifact action to v4.4.3

chore(deps): update actions/upload-artifact action to v4.4.3 #74

Workflow file for this run

name: SDK / CI
on:
pull_request:
branches: [ "master" ]
types: [opened, synchronize]
permissions:
contents: read
security-events: write
jobs:
avoid_reduncy:
runs-on: ubuntu-24.04
steps:
- name: Cancel Previous Redundant Builds
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
check-for-cc:
runs-on: ubuntu-latest
steps:
- name: check-for-cc
id: check-for-cc
uses: agenthunt/conventional-commit-checker-action@v2.0.0
lint:
name: Lint
needs: [check-for-cc]
runs-on: ubuntu-24.04
continue-on-error: true
strategy:
matrix:
task: [ detekt, lint ]
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Setup Java
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3.5.0
- name: Run ${{ matrix.task }} task
run: ./gradlew ${{ matrix.task }}
- name: Upload SARIF files
uses: github/codeql-action/upload-sarif@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
if: ${{ always() }}
with:
sarif_file: .
build:
name: Build
needs: [lint]
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Setup Java
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3.5.0
- name: Assemble debug APKs
run: ./gradlew assembleDebug
- name: Create publish bundle
run: mkdir -p build/gh-app-publish/; find app/build/ -iname "*.apk" -exec mv "{}" build/gh-app-publish/ \;
- name: Upload artifacts
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1
with:
name: build-artifacts
retention-days: 14
if-no-files-found: error
path: build/gh-app-publish/