Skip to content

Commit

Permalink
fix inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Jul 17, 2024
1 parent a47da7a commit ef56456
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit ef56456

Please sign in to comment.