Skip to content

Commit

Permalink
Use dollar curly braces for evaluating ifs
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Oct 25, 2024
1 parent 83721a0 commit 016e076
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/build-clang-doxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
continue-on-error: true
run: |
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
- if: failure() == 'true'
- if: ${{ failure() }}
name: Restore cached nanopb
id: cache-nanopb-restore
uses: actions/cache/restore@v4
Expand All @@ -68,7 +68,7 @@ jobs:
with:
path: ./nanopb-0.4.8.tar.gz
key: nanopb-0.4.8.tar.gz
- if: failure() =='false'
- if: ${{ success() }}
name: Save nanopb to cache
id: cache-nanopb-save
uses: actions/cache/save@v4
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
continue-on-error: true
run: |
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
- if: failure() == 'true'
- if: ${{ failure() }}
name: Restore cached nanopb
id: cache-nanopb-restore
uses: actions/cache/restore@v4
Expand All @@ -232,7 +232,7 @@ jobs:
with:
path: ./nanopb-0.4.8.tar.gz
key: nanopb-0.4.8.tar.gz
- if: failure() =='false'
- if: ${{ success() }}
name: Save nanopb to cache
id: cache-nanopb-save
uses: actions/cache/save@v4
Expand Down Expand Up @@ -322,7 +322,7 @@ jobs:
continue-on-error: true
run: |
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
- if: failure() == 'true'
- if: ${{ failure() }}
name: Restore cached nanopb
id: cache-nanopb-restore
uses: actions/cache/restore@v4
Expand All @@ -331,7 +331,7 @@ jobs:
with:
path: ./nanopb-0.4.8.tar.gz
key: nanopb-0.4.8.tar.gz
- if: failure() =='false'
- if: ${{ success() }}
name: Save nanopb to cache
id: cache-nanopb-save
uses: actions/cache/save@v4
Expand Down Expand Up @@ -449,7 +449,7 @@ jobs:
continue-on-error: true
run: |
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
- if: failure() == 'true'
- if: ${{ failure() }}
name: Restore cached nanopb
id: cache-nanopb-restore
uses: actions/cache/restore@v4
Expand All @@ -458,7 +458,7 @@ jobs:
with:
path: ./nanopb-0.4.8.tar.gz
key: nanopb-0.4.8.tar.gz
- if: failure() =='false'
- if: ${{ success() }}
name: Save nanopb to cache
id: cache-nanopb-save
uses: actions/cache/save@v4
Expand Down Expand Up @@ -521,7 +521,7 @@ jobs:
continue-on-error: true
run: |
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
- if: failure() == 'true'
- if: ${{ failure() }}
name: Restore cached nanopb
id: cache-nanopb-restore
uses: actions/cache/restore@v4
Expand All @@ -530,7 +530,7 @@ jobs:
with:
path: ./nanopb-0.4.8.tar.gz
key: nanopb-0.4.8.tar.gz
- if: failure() =='false'
- if: ${{ success() }}
name: Save nanopb to cache
id: cache-nanopb-save
uses: actions/cache/save@v4
Expand Down Expand Up @@ -592,7 +592,7 @@ jobs:
continue-on-error: true
run: |
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
- if: failure() == 'true'
- if: ${{ failure() }}
name: Restore cached nanopb
id: cache-nanopb-restore
uses: actions/cache/restore@v4
Expand All @@ -601,7 +601,7 @@ jobs:
with:
path: ./nanopb-0.4.8.tar.gz
key: nanopb-0.4.8.tar.gz
- if: failure() =='false'
- if: ${{ success() }}
name: Save nanopb to cache
id: cache-nanopb-save
uses: actions/cache/save@v4
Expand Down Expand Up @@ -651,7 +651,7 @@ jobs:
continue-on-error: true
run: |
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
- if: failure() == 'true'
- if: ${{ failure() }}
name: Restore cached nanopb
id: cache-nanopb-restore
uses: actions/cache/restore@v4
Expand All @@ -660,7 +660,7 @@ jobs:
with:
path: ./nanopb-0.4.8.tar.gz
key: nanopb-0.4.8.tar.gz
- if: failure() =='false'
- if: ${{ success() }}
name: Save nanopb to cache
id: cache-nanopb-save
uses: actions/cache/save@v4
Expand Down Expand Up @@ -744,7 +744,7 @@ jobs:
continue-on-error: true
run: |
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
- if: failure() == 'true'
- if: ${{ failure() }}
name: Restore cached nanopb
id: cache-nanopb-restore
uses: actions/cache/restore@v4
Expand All @@ -753,7 +753,7 @@ jobs:
with:
path: ./nanopb-0.4.8.tar.gz
key: nanopb-0.4.8.tar.gz
- if: failure() =='false'
- if: ${{ success() }}
name: Save nanopb to cache
id: cache-nanopb-save
uses: actions/cache/save@v4
Expand Down Expand Up @@ -836,7 +836,7 @@ jobs:
continue-on-error: true
run: |
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz
- if: failure() == 'true'
- if: ${{ failure() }}
name: Restore cached nanopb
id: cache-nanopb-restore
uses: actions/cache/restore@v4
Expand All @@ -845,7 +845,7 @@ jobs:
with:
path: ./nanopb-0.4.8.tar.gz
key: nanopb-0.4.8.tar.gz
- if: failure() =='false'
- if: ${{ success() }}
name: Save nanopb to cache
id: cache-nanopb-save
uses: actions/cache/save@v4
Expand Down

0 comments on commit 016e076

Please sign in to comment.