Change cb80/delrel@latest action over to equivalent gh cli call due to node 20 deprecation. Fix code to delete placeholder text in setting up downloads page. Both in buildLoadup.yml.
This commit is contained in:
9
.github/workflows/buildLoadup.yml
vendored
9
.github/workflows/buildLoadup.yml
vendored
@@ -231,10 +231,9 @@ jobs:
|
||||
|
||||
# Push the release up to github releases
|
||||
- name: Delete existing release with same tag (if any)
|
||||
uses: cb80/delrel@latest
|
||||
with:
|
||||
tag: ${{ env.GITHUB_RELEASE_TAG }}
|
||||
continue-on-error: true
|
||||
run: gh release delete ${{ env.GITHUB_RELEASE_TAG }} --cleanup-tag --yes || true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Push the release
|
||||
id: push
|
||||
@@ -610,7 +609,7 @@ jobs:
|
||||
# Remove placeholder.txt
|
||||
- name: Remove placeholder.txt
|
||||
run: |
|
||||
gh release delete-asset ${{ env.MEDLEY_RELEASE_TAG }} placeholder.txt --yes
|
||||
gh release delete-asset ${{ env.GITHUB_RELEASE_TAG }} placeholder.txt --yes || true
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user