diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index fe521559..22a05952 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -115,7 +115,7 @@ jobs: import * as core from '@actions/core' const repo = '${{ github.repository }}' - const listReleases = await $`gh release list -repo ${repo}` + const listReleases = await $`gh release list --repo ${repo}` const tags = listReleases.stdout.trim().split('\n') .map(r => r.split('\t')[2]) .filter(t => t.startsWith('0-nightly-build')) @@ -125,6 +125,6 @@ jobs: core.info(`Tags to delete: [${tagsToDelete.join(', ')}]`) for (const tag of tagsToDelete) { - await $`gh release delete ${tag} -repo ${repo} --yes` + await $`gh release delete ${tag} --repo ${repo} --yes` }