Skip to content

Commit

Permalink
change test flow
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkaczan committed Aug 15, 2023
1 parent 1cdf8f8 commit 9906fde
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@ runs:
- name: Set job related envs for PR
if: ${{ github.event_name == 'pull_request' }}
env:
BRANCH_NAME: ${{ github.event.pull_request.head.ref }} ${{ github.ref_name }}
PR_TITLE: ${{ github.event.pull_request.title }} ${{ github.event.head_commit.message }}
PR_URL: ${{ github.event.pull_request.html_url }} ${{ github.event.head_commit.url }}
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
PR_TITLE: ${{ github.event.pull_request.title }}
PR_URL: ${{ github.event.pull_request.html_url }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: echo "Set job related envs for PR"
run: |
env > .env_file
shell: bash

- name: Set job related envs for non-PR
Expand All @@ -65,11 +66,6 @@ runs:
PR_TITLE: ${{ github.event.head_commit.message }}
PR_URL: ${{ github.event.head_commit.url }}
PR_NUMBER: ${{ github.run_number }}
run: echo "Set job related envs for non-PR"
shell: bash

- name: Expand environment variables
id: expand_envs
run: |
env > .env_file
shell: bash
Expand Down

0 comments on commit 9906fde

Please sign in to comment.