We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ab146 commit fc0e050Copy full SHA for fc0e050
.github/workflows/release.yml
@@ -186,14 +186,14 @@ jobs:
186
with:
187
script: |
188
try{
189
- const rel_id = await github.repos.getReleaseByTag({
+ const rel_id = await github.rest.repos.getReleaseByTag({
190
...context.repo,
191
tag: "nightly"
192
}).then(result => result.data.id);
193
194
console.log( "Found existing nightly release with id: ", rel_id);
195
196
- await github.repos.deleteRelease({
+ await github.rest.repos.deleteRelease({
197
198
release_id: rel_id
199
});
@@ -205,7 +205,7 @@ jobs:
205
}
206
207
208
- await github.git.deleteRef({
+ await github.rest.git.deleteRef({
209
210
ref: "tags/nightly"
211
0 commit comments