diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index a4eb0dd..3df5d69 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -10,6 +10,8 @@ jobs: init: runs-on: ubuntu-latest outputs: + git_path: ${{ steps.git-path.outputs.path }} + git_path2: ${{ steps.git-path.outputs.path2 }} PULL_REQUEST_HEAD_REF: ${{ github.event.pull_request.head.ref }} PULL_REQUEST_BASE_REF: ${{ github.event.pull_request.base.ref }} PULL_REQUEST_CLONE_URL: ${{ github.event.pull_request.head.repo.clone_url }} @@ -18,7 +20,8 @@ jobs: - name: Init path id: git-path run: | - echo '$PULL_REQUEST_HEAD_REF' + echo 'path=${{ github.event.pull_request.head.ref }}' >> $GITHUB_OUTPUT + echo "path2=${{ github.event.pull_request.head.ref }}" >> $GITHUB_OUTPUT performance-testing: runs-on: ubuntu-latest @@ -83,3 +86,12 @@ jobs: echo '${{ needs.init.outputs.PULL_REQUEST_HEAD_REF }}' echo '${{ needs.init.outputs.PULL_REQUEST_BASE_REF }}' echo '${{ needs.init.outputs.PULL_REQUEST_CLONE_URL }}' + + - name: needs.init.outputs.git_path + run: | + echo "${{ needs.init.outputs.git_path }}" + echo '${{ needs.init.outputs.git_path }}' + echo ${{ needs.init.outputs.git_path }} + echo "${{ needs.init.outputs.git_path2 }}" + echo '${{ needs.init.outputs.git_path2 }}' + echo ${{ needs.init.outputs.git_path2 }}