Skip to content

Commit

Permalink
Use new github action outputs instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
zim514 committed Jan 8, 2024
1 parent 55fab96 commit e21fe96
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,26 @@ jobs:
echo "pwd: $(pwd)"
./repo/create_repository.py --datadir=repo/docs/repo ./addon/script.service.hue ./repo/repository.snapcase
- name: Output debug
shell: bash
run: |
echo "****************************************"
find . -name .git -prune -o -print
# - name: Output debug
# shell: bash
# run: |
# echo "****************************************"
# find . -name .git -prune -o -print

- name : Find addon zip
id: zip_filename
run: |
file=$(find . -type f -name "script.service.hue-*.zip")
echo "File: $file"
echo "zip_filename=$file" >> $GITHUB_OUTPUT
echo "::set-output name=zip_filename::$file"
- name: Create Github Release
id: create_release
uses: ncipollo/[email protected]
with:
allowUpdates: true
artifacts: "${{ steps.zip_filename.outputs.zip_filename }}"
artifacts: "${{ $GITHUB_OUTPUT.zip_filename }}"
artifactContentType: application/zip

- name: Update hosted repo
Expand Down

0 comments on commit e21fe96

Please sign in to comment.