diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cdaab1ca64..a14b705be5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,27 +9,27 @@ on: required: true default: 'HEAD' type: string - x86_64-linux-debug: + x86_64_linux_debug: required: false default: true type: boolean - x86_64-linux-release: + x86_64_linux_release: required: false default: true type: boolean - x86_64-macos: + x86_64_macos: required: false default: true type: boolean - x86_64-windows: + x86_64_windows: required: false default: true type: boolean - aarch64-linux: + aarch64_linux: required: false default: true type: boolean - aarch64-macos: + aarch64_macos: required: false default: true type: boolean @@ -43,7 +43,7 @@ concurrency: cancel-in-progress: true jobs: x86_64-linux-debug: - if: ${{ github.event_name != 'workflow_dispatch' || inputs["x86_64-linux-debug"] }} + if: ${{ github.event_name != 'workflow_dispatch' || inputs.x86_64_linux_debug }} runs-on: [self-hosted, Linux, x86_64] steps: - name: Checkout @@ -56,7 +56,7 @@ jobs: - name: Print Version run: echo "$(build-debug/stage3-debug/bin/zig version)" x86_64-linux-release: - if: ${{ github.event_name != 'workflow_dispatch' || inputs["x86_64-linux-release"] }} + if: ${{ github.event_name != 'workflow_dispatch' || inputs.x86_64_linux_release }} runs-on: [self-hosted, Linux, x86_64] steps: - name: Checkout @@ -67,7 +67,7 @@ jobs: - name: Build and Test run: sh ./ci/linux/build-x86_64-release.sh x86_64-macos: - if: ${{ github.event_name != 'workflow_dispatch' || inputs["x86_64-macos"] }} + if: ${{ github.event_name != 'workflow_dispatch' || inputs.x86_64_macos }} runs-on: "macos-11" env: ARCH: "x86_64" @@ -80,7 +80,7 @@ jobs: - name: Build and Test run: ./ci/macos/build-x86_64.sh x86_64-windows: - if: ${{ github.event_name != 'workflow_dispatch' || inputs["x86_64-windows"] }} + if: ${{ github.event_name != 'workflow_dispatch' || inputs.x86_64_windows }} runs-on: windows-latest env: ARCH: "x86_64" @@ -93,7 +93,7 @@ jobs: - name: Build and Test run: ./ci/windows/build.ps1 aarch64-linux: - if: ${{ github.event_name != 'workflow_dispatch' || inputs["aarch64-linux"] }} + if: ${{ github.event_name != 'workflow_dispatch' || inputs.aarch64_linux }} runs-on: [self-hosted, Linux, aarch64] steps: - name: Checkout @@ -104,7 +104,7 @@ jobs: - name: Build and Test run: sh ./ci/linux/build-aarch64.sh aarch64-macos: - if: ${{ github.event_name != 'workflow_dispatch' || inputs["aarch64-macos"] }} + if: ${{ github.event_name != 'workflow_dispatch' || inputs.aarch64_macos }} runs-on: [self-hosted, macOS, aarch64] env: ARCH: "aarch64"