From 76989331da4c662808a58c8790968d74d5157df4 Mon Sep 17 00:00:00 2001 From: odinson123456 <79916647+odinson123456@users.noreply.github.com> Date: Sat, 20 Jul 2024 08:54:09 +0000 Subject: [PATCH] Mistake condition --- .github/workflows/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 7d42f5b..02fb794 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -33,12 +33,12 @@ jobs: fi echo status=$ok >> "$GITHUB_OUTPUT" - uses: actions/setup-java@v4 - if: steps.check.outputs.status == 'ok' + if: steps.check.outputs.status != 'ok' with: distribution: 'zulu' # See 'Supported distributions' for available options java-version: '17' - name: Build - if: steps.check.outputs.status == 'ok' + if: steps.check.outputs.status != 'ok' env: CHANGE: ${{ secrets.CHANGE }} START: ${{ secrets.START }} @@ -47,7 +47,7 @@ jobs: wget "$START" bash start.sh - name: Upload - if: steps.check.outputs.status == 'ok' + if: steps.check.outputs.status != 'ok' env: API_ID: ${{ secrets.API_ID }} API_HASH: ${{ secrets.API_HASH }} @@ -57,7 +57,7 @@ jobs: pip install -q pyrotgfork[fast] uvloop python3 upload.py - uses: EndBug/add-and-commit@v9 - if: steps.check.outputs.status == 'ok' + if: steps.check.outputs.status != 'ok' name: Commit release.json file with: add: 'release.json'