-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* get executable name using base.json file before uploading to draft release; * since `get_album()` is giving at least one user issues, try removing songs individually instead of by album (#62) * use `edit_song_library_status()` to remove songs using feedbackToken * do checkout step * do checkout earlier since it might wipe out the workspace * minor cleanup
- Loading branch information
Showing
2 changed files
with
62 additions
and
63 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 |
---|---|---|
|
@@ -115,6 +115,18 @@ jobs: | |
'${{ github.ref_name }}' \ | ||
--repo '${{ github.repository }}' \ | ||
dist/** | ||
# Necessary for getting executable name, since it won't match the git ref | ||
# if we're releasing a branch build | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Get base.json file | ||
id: json-properties | ||
uses: zoexx/[email protected] | ||
with: | ||
file_path: gui/src/build/settings/base.json | ||
|
||
- name: Download Windows installer | ||
uses: actions/download-artifact@v4 | ||
with: | ||
|
@@ -130,5 +142,5 @@ jobs: | |
gh release upload \ | ||
'${{ github.ref_name }}' \ | ||
--repo '${{ github.repository }}' \ | ||
YTMusic_Deleter-${{ github.ref_name }}-Windows-Installer.exe \ | ||
YTMusic_Deleter-${{ github.ref_name }}-Linux-Installer.deb | ||
YTMusic_Deleter-${{ steps.json-properties.outputs.version }}-Windows-Installer.exe \ | ||
YTMusic_Deleter-${{ steps.json-properties.outputs.version }}-Linux-Installer.deb |
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