-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new github action outputs instead.
- Loading branch information
zim514
committed
Jan 8, 2024
1 parent
55fab96
commit e21fe96
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|