From 3061b7bc6e299e1e0f4ba86062723a7460091ab9 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Mon, 4 Nov 2019 11:01:00 +0900 Subject: [PATCH] Update workflows --- .github/workflows/create-pull-request-multi.yml | 6 +----- .github/workflows/create-pull-request.yml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/create-pull-request-multi.yml b/.github/workflows/create-pull-request-multi.yml index 19f62cd..855a15b 100644 --- a/.github/workflows/create-pull-request-multi.yml +++ b/.github/workflows/create-pull-request-multi.yml @@ -38,8 +38,4 @@ jobs: PULL_REQUEST_BRANCH: example-patches BRANCH_SUFFIX: 'random' - name: Check output environment variable - if: matrix.platform == 'ubuntu-latest' || matrix.platform == 'macos-latest' - run: echo "Pull Request Number - $PULL_REQUEST_NUMBER" - - name: Check output environment variable (windows) - if: matrix.platform == 'windows-latest' - run: echo Pull Request Number - %PULL_REQUEST_NUMBER% + run: echo "Pull Request Number - ${{ env.PULL_REQUEST_NUMBER }}" diff --git a/.github/workflows/create-pull-request.yml b/.github/workflows/create-pull-request.yml index 89b41bd..b8da333 100644 --- a/.github/workflows/create-pull-request.yml +++ b/.github/workflows/create-pull-request.yml @@ -30,4 +30,4 @@ jobs: PULL_REQUEST_BRANCH: example-patches BRANCH_SUFFIX: short-commit-hash - name: Check output environment variable - run: echo "Pull Request Number - $PULL_REQUEST_NUMBER" + run: echo "Pull Request Number - ${{ env.PULL_REQUEST_NUMBER }}"