.github/workflows/build-android_Miron.yml aktualisiert #1

Open
Ninjalama wants to merge 7 commits from ninjalama-patch-1 into develop

View File

@@ -7,9 +7,9 @@ concurrency:
on: on:
workflow_dispatch: workflow_dispatch:
pull_request: pull_request:
branches: [develop, master] branches: [develop, master,ninjalama-patch-1]
push: push:
branches: [develop, master] branches: [develop, master, ninjalama-patch-1]
jobs: jobs:
build: build:
@@ -20,7 +20,7 @@ jobs:
steps: steps:
- name: 📥 Checkout code - name: 📥 Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@v4 # v4.2.2
with: with:
ref: ${{ github.event.pull_request.head.sha || github.sha }} ref: ${{ github.event.pull_request.head.sha || github.sha }}
show-progress: false show-progress: false
@@ -38,6 +38,9 @@ jobs:
distribution: 'zulu' distribution: 'zulu'
java-version: '17' java-version: '17'
- name: Set up Android SDK
uses: android-actions/setup-android@v2
- name: 💾 Cache Bun dependencies - name: 💾 Cache Bun dependencies
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
with: with:
@@ -70,7 +73,7 @@ jobs:
run: echo "DATE_TAG=$(date +%d-%m-%Y_%H-%M-%S)" >> $GITHUB_ENV run: echo "DATE_TAG=$(date +%d-%m-%Y_%H-%M-%S)" >> $GITHUB_ENV
- name: 📤 Upload APK artifact - name: 📤 Upload APK artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 uses: actions/upload-artifact@v3
with: with:
name: streamyfin-apk-${{ env.DATE_TAG }} name: streamyfin-apk-${{ env.DATE_TAG }}
path: | path: |