Skip to content

Commit

Permalink
set-env is deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
ercanozkaya committed Nov 17, 2020
1 parent eac6669 commit 27adb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Only run on branches whose names start with feature/ or hotfix/
if: startsWith(github.ref, 'refs/heads/feature') || startsWith(github.ref, 'refs/heads/hotfix')
shell: bash
run: echo "::set-env name=ISSUE_ID::$(echo $GITHUB_REF | grep -o -E '[0-9]+' | head -1 | sed -e 's/^0\+//')"
run: echo "ISSUE_ID=$(echo $GITHUB_REF | grep -o -E '[0-9]+' | head -1 | sed -e 's/^0\+//')" >> $GITHUB_ENV


- name: Get issue data
Expand Down

0 comments on commit 27adb55

Please sign in to comment.