Workflow um Build-Stage erweitern #185
@@ -12,7 +12,12 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
run: sudo apt-get update && sudo apt-get install -y openjdk-11-jdk
|
run: |
|
||||||
|
if command -v sudo >/dev/null 2>&1; then
|
||||||
|
sudo apt-get update && sudo apt-get install -y openjdk-11-jdk
|
||||||
|
else
|
||||||
|
apt-get update && apt-get install -y openjdk-11-jdk
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Install Flutter (wget)
|
- name: Install Flutter (wget)
|
||||||
run: |
|
run: |
|
||||||
@@ -24,7 +29,11 @@ jobs:
|
|||||||
- name: Install Android SDK command-line tools and components
|
- name: Install Android SDK command-line tools and components
|
||||||
run: |
|
run: |
|
||||||
export ANDROID_SDK_ROOT="$HOME/android-sdk"
|
export ANDROID_SDK_ROOT="$HOME/android-sdk"
|
||||||
|
if command -v sudo >/dev/null 2>&1; then
|
||||||
sudo apt-get update && sudo apt-get install -y unzip
|
sudo apt-get update && sudo apt-get install -y unzip
|
||||||
|
else
|
||||||
|
apt-get update && apt-get install -y unzip
|
||||||
|
fi
|
||||||
mkdir -p $ANDROID_SDK_ROOT/cmdline-tools
|
mkdir -p $ANDROID_SDK_ROOT/cmdline-tools
|
||||||
cd $ANDROID_SDK_ROOT
|
cd $ANDROID_SDK_ROOT
|
||||||
wget https://dl.google.com/android/repository/commandlinetools-linux_latest.zip -O cmdline-tools.zip
|
wget https://dl.google.com/android/repository/commandlinetools-linux_latest.zip -O cmdline-tools.zip
|
||||||
@@ -55,7 +64,7 @@ jobs:
|
|||||||
|
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: false
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -77,7 +86,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
|
if: f
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user