Skip to content

Commit

Permalink
fix variable references in reusable pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed May 2, 2024
1 parent 01c277b commit 293f0af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clear-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
reset-data:
name: 'Reset data'
environment: ${{ github.event.inputs.environment }}
environment: ${{ inputs.environment }}
runs-on: ubuntu-20.04
timeout-minutes: 60
outputs:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/seed-data.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Seed data
run-name: Seed data to ${{ github.event.inputs.environment }} core=${{ github.event.inputs.core-image-tag }}
run-name: Seed data to ${{ inputs.environment }} core=${{ inputs.core-image-tag }}
on:
workflow_call:
inputs:
Expand All @@ -25,7 +25,7 @@ on:
description: Core DockerHub image tag
jobs:
seed-data:
environment: ${{ github.event.inputs.environment }}
environment: ${{ inputs.environment }}
runs-on: ubuntu-20.04
outputs:
outcome: ${{ steps.seed.outcome }}
Expand All @@ -39,10 +39,10 @@ jobs:
path: './opencrvs-core'

- name: Set CORE_VERSION from inputs
if: ${{ github.event.inputs.core-image-tag }}
if: ${{ inputs.core-image-tag }}
run: |
cd opencrvs-core
git checkout ${{ github.event.inputs.core-image-tag }}
git checkout ${{ inputs.core-image-tag }}
- name: Install dependencies
working-directory: ./opencrvs-core
Expand Down

0 comments on commit 293f0af

Please sign in to comment.