Skip to content

Commit 0284936

Browse files
Merge pull request #23 from codecov/0.2.3
fix: add github_action_path
2 parents 225781b + 24cce26 commit 0284936

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.2
1+
0.2.3

action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ runs:
7878
steps:
7979
- id: codecov-ats
8080
run: |
81-
echo "Running ATS Action version: $(cat dist/VERSION)"
82-
commands=$(./dist/codecov_ats.sh | tail -n 1)
81+
echo "${{ github.action_path }}" >> $GITHUB_PATH
82+
echo "Running ATS Action version: $(cat ${{ github.action_path }}dist/VERSION)"
83+
commands=$(${{ github.action_path }}/dist/codecov_ats.sh | tail -n 1)
8384
8485
if [[ $? == 0 ]]; then
8586
echo "Setting CODECOV_ATS_TESTS to GitHub environment"

dist/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.2
1+
0.2.3

0 commit comments

Comments
 (0)