Skip to content

Commit

Permalink
fix action outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
zim514 committed Oct 30, 2022
1 parent 39c77da commit 237b253
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
steps:
- name: Get version
id: get_version
run: echo "name=VERSION::${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v3
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Automated repo update ${{ steps.get_version.outputs.VERSION }}
commit_message: Automated repo update ${{ env.VERSION }}
add_options: '--all'

release:
Expand All @@ -68,7 +68,7 @@ jobs:
- name: Get version
id: get_version
run: |
echo "name=version::${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
echo "version=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- name: Set up Python 3.9
uses: actions/setup-python@v4
Expand All @@ -89,7 +89,7 @@ jobs:
run: |
pipenv run submit-addon -z -s script.service.hue
ls *.zip
echo "name=zip_filename::$(ls *.zip)" >> $GITHUB_ENV
echo "zip_filename=$(ls *.zip)" >> $GITHUB_ENV
- name: Create Github Release
id: create_release
Expand All @@ -98,7 +98,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{steps.get_version.outputs.version}}
release_name: ${{env.version}}
draft: false
prerelease: false

Expand Down

0 comments on commit 237b253

Please sign in to comment.