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 }}