From a26d576c0fae03611f4b910fa6915b1531d3cb98 Mon Sep 17 00:00:00 2001 From: satackey <21271711+satackey@users.noreply.github.com> Date: Sat, 15 Aug 2020 20:23:14 +0900 Subject: [PATCH] fix matrix --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 46d67254..b6b8e475 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,9 +56,6 @@ jobs: 'ubuntu-latest', 'windows-latest', ], - branch: [ - context.payload.ref.replace('refs/heads/', '') - ], include: [ { inspect_image: 'test_project_scratch', @@ -68,7 +65,9 @@ jobs: inspect_image: 'hello-world', prepare_command: ':', build_command: 'docker pull hello-world', - }, + }, { + branch: process.env.GITHUB_REF.replace('refs/heads/', '') + } ], exclude: [ {