Skip to content

Commit

Permalink
Mistake condition
Browse files Browse the repository at this point in the history
  • Loading branch information
odinson123456 committed Jul 20, 2024
1 parent ef02b2a commit 7698933
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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'
Expand Down

0 comments on commit 7698933

Please sign in to comment.