diff --git a/.github/workflows/ci-shell.yml b/.github/workflows/ci-shell.yml index bd1a27bf..7f8e77a9 100644 --- a/.github/workflows/ci-shell.yml +++ b/.github/workflows/ci-shell.yml @@ -1,4 +1,4 @@ -name: CI Shell Script +name: CI-Shell Script on: workflow_dispatch: @@ -9,39 +9,34 @@ on: pull_request: branches: - master - -env: - PYTHON_VERSION: '3.10' jobs: test-shell-script: + runs-on: ubuntu-latest + strategy: + matrix: + python: [ "3.10" ] + steps: - name: Clean up space for action run: rm -rf /opt/hostedtoolcache - - name: 'Checkout GitHub Action' - uses: actions/checkout@v3 - - - name: Setup Python ${{ env.PYTHON_VERSION }} Environment - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v5 with: - python-version: ${{ env.PYTHON_VERSION }} + python-version: ${{ matrix.python }} - - name: 'Setup FFmpeg' - uses: FedericoCarboni/setup-ffmpeg@v3 - id: setup-ffmpeg - with: - ffmpeg-version: release - architecture: 'arm64' - linking-type: static + - name: Install git and ffmpeg + run: sudo apt-get update && sudo apt-get install -y git ffmpeg - - name: 'Execute Install.sh' + - name: Execute Install.sh run: | chmod +x ./Install.sh ./Install.sh - - name: 'Execute start-webui.sh' + - name: Execute start-webui.sh run: | chmod +x ./start-webui.sh timeout 60s ./start-webui.sh || true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 742b3d85..398cb7bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,10 +5,10 @@ on: push: branches: - - master + - master pull_request: branches: - - master + - master jobs: build: