From ef5645638696c35f2afea80a476e5e78e4b53223 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Wed, 17 Jul 2024 23:05:21 +0200 Subject: [PATCH] fix inputs --- .github/workflows/build.yaml | 4 ++-- .github/workflows/test.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 75c9090..6e44438 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,7 +1,7 @@ name: Build concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.inputs.version }} + group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.version }} cancel-in-progress: true on: @@ -52,7 +52,7 @@ jobs: - name: Determine variables id: variables run: | - VERSION="${{ github.event.inputs.version }}" + VERSION="${{ inputs.version }}" SOURCE_BRANCH=$(echo "$GITHUB_REF" | sed 's/refs\/heads\///') if [[ -z $VERSION ]]; then diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d0f2b60..2567f6a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -101,11 +101,11 @@ jobs: key: ${{ needs.list.outputs.cache_key }} - name: Run test - timeout-minutes: ${{ github.event.inputs.timeout }} + timeout-minutes: ${{ inputs.timeout }} env: RUNNER_TEMP: "${{ runner.temp }}/viash_temp" run: | viash test \ "${{ matrix.component.config }}" \ - --cpus ${{ github.event.inputs.num_cpus }} \ - --memory ${{ github.event.inputs.memory }} + --cpus ${{ inputs.num_cpus }} \ + --memory ${{ inputs.memory }}