update upload asset
This commit is contained in:
parent
2f76bb1176
commit
205d8ecb70
2 changed files with 4 additions and 3 deletions
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
|
@ -24,4 +24,5 @@ jobs:
|
|||
- name: Build image
|
||||
run: mkarchiso -v iso/
|
||||
- name: Upload iso to the release
|
||||
run: python tools/upload_assest.py
|
||||
run: python tools/upload_asset.py
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ def _compute_sha256(file_name):
|
|||
|
||||
|
||||
_path = list(Path().cwd().glob("out/*.iso"))[0]
|
||||
path = _path.posix_path()
|
||||
path = _path.as_posix()
|
||||
|
||||
file_name = _path.name
|
||||
|
||||
|
@ -43,7 +43,7 @@ if not (repo_name and api_key and release_name):
|
|||
|
||||
gh = Github(api_key)
|
||||
print(repo_name, api_key)
|
||||
repo = gh.get_repo(f"parchlinux/parch-iso-cinnamon")
|
||||
repo = gh.get_repo(f"parchlinux/{repo_name}")
|
||||
|
||||
release = repo.get_release(release_name)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue