Skip to content

Commit

Permalink
Fix action script
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Nov 21, 2020
1 parent 05c32ec commit cc0f544
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:

- working-directory: ./custom_components
run: |
echo "::set-env name=package::`ls -F | grep \/$ | sed -n "s/\///g;1p"`"
echo "::set-env name=release_version::`git describe --abbrev=0 | sed s/v//`"
echo "name=package::`ls -F | grep \/$ | sed -n "s/\///g;1p"`" >> $GITHUB_ENV
echo "name=release_version::`git describe --abbrev=0 | sed s/v//`" >> $GITHUB_ENV
- working-directory: ./custom_components
run: |
echo "::set-env name=basedir::`pwd`/${{ env.package }}"
echo "name=basedir::`pwd`/${{ env.package }}" >> $GITHUB_ENV
- name: "Setup Git"
run: |
Expand Down

0 comments on commit cc0f544

Please sign in to comment.