Skip to content

Commit

Permalink
Update auto-nightly.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git authored Jan 21, 2025
1 parent c7298ce commit 48693b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/auto-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# SPDX-FileCopyrightText: (c) 2025 ale5000
# SPDX-FileCopyrightText: (c) 2025 ale5000
# SPDX-License-Identifier: GPL-3.0-or-later

name: "Nightly"
Expand Down Expand Up @@ -56,12 +56,11 @@ jobs:
const response = await github.rest.repos.getReleaseByTag({
owner: context.repo.owner,
repo: context.repo.repo,
tag: 'refs/tags/nightly'
tag: 'tags/nightly'
}).catch(response => response);
console.log(response.status);
console.log(response.message);
console.log(response.id);
console.log('---');
if(response.status >= 200 && response.status < 300) {
await github.rest.repos.deleteRelease({
owner: context.repo.owner,
Expand Down

0 comments on commit 48693b3

Please sign in to comment.