From 76d92a0769fdedf5a497f6537fd2ec53787f651e Mon Sep 17 00:00:00 2001 From: Vaibhav Prajapati Date: Thu, 18 Jul 2024 22:31:33 +0530 Subject: [PATCH] Update build.yaml --- .github/workflows/build.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index efa1f8a..cc7b2bd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,17 +2,14 @@ name: Build on: push jobs: build-image: + name: build to ${{ matrix.vars.target }} runs-on: ubuntu-latest strategy: matrix: vars: - - target: dev - url: test-dev - - target: prod - url: test-prod + - target: dev + appurl: test-dev steps: - name: my-step - run: echo "Hello World!" - with: - target-step: ${{ matrix.vars.target }} - url-step: ${{ matrix.vars.url }} + run: | + echo "${{ matrix.vars.target }} : ${{ matrix.vars.appurl }}"