ci: Use if without ${{ }} where possible

This commit is contained in:
Wolfgang Walther
2024-02-22 20:12:18 +01:00
committed by Wolfgang Walther
parent c54e0d3353
commit f9fdf666ad
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -220,14 +220,14 @@ jobs:
restore-keys: |
cache-stack-${{ runner.os }}-
- name: Install dependencies
if: ${{ matrix.deps }}
if: matrix.deps
run: ${{ matrix.deps }}
- name: Build with Stack
run: stack build --lock-file error-on-write --local-bin-path result --copy-bins
- name: Strip Executable
run: strip result/postgrest*
- name: Save built executable as artifact
if: ${{ matrix.artifact }}
if: matrix.artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact }}
@@ -293,7 +293,7 @@ jobs:
Build-Cabal-Arm:
name: Build aarch64 (Cabal, GHC 9.4.8)
if: "${{ github.event_name == 'push' }}"
if: github.event_name == 'push'
runs-on: ubuntu-latest
outputs:
remotepath: ${{ steps.Remote-Dir.outputs.remotepath }}
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
permissions:
checks: write
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure' }}
if: github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure'
steps:
- name: Download from Artifacts
uses: actions/download-artifact@v4