From bd41635291f5d7868e326acc9dd1b96d73ec8774 Mon Sep 17 00:00:00 2001 From: egor-white <68005462+egor-white@users.noreply.github.com> Date: Sat, 14 Jun 2025 09:50:04 +0300 Subject: [PATCH] Update workflow.yml --- .github/workflows/workflow.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index af6f4f4..1e7e1b7 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,8 +1,5 @@ -# This is a basic workflow to help you get started with Actions - name: Build module -# Controls when the workflow will run on: workflow_dispatch: inputs: @@ -20,22 +17,19 @@ on: type: string jobs: build: - # The type of runner that the job will run on runs-on: ubuntu-latest steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 - # Runs a single command using the runners shell - - name: Prepare + - name: Make build dirs run: mkdir -p zaprett zaprett-extended zaprett-tv zapret-latest out - # Runs a set of commands using the runners shell - name: Download latest zapret binaries run: | LATEST_RELEASE=$(curl -s https://api.github.com/repos/bol-van/zapret/releases/latest) DOWNLOAD_URL=$(echo "$LATEST_RELEASE" | grep -o 'browser_download_url.*zapret-v.*\.zip"' | cut -d'"' -f3) wget $DOWNLOAD_URL -O zapret-latest.zip + - name: Unzip zapret binaries run: | unzip -o zapret-latest.zip