Skip to content

Commit 27952fe

Browse files
authored
Merge pull request #166 from harvenstar/1.8
Add unit test and e2e test placeholders to build workflow
2 parents 7924f60 + dd79d24 commit 27952fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@ jobs:
5656
});
5757
console.log(`Deleted existing tag: ${tag}`);
5858
} catch (e) {
59-
if (e.status !== 404) {
60-
// Re-throw the error if it's not a "Not Found" error
59+
if (e.status !== 404 && e.status !== 422) {
60+
// Re-throw the error if it's not a "Not Found" or "Unprocessable" error
6161
throw e;
6262
}
6363
console.log(`Tag ${tag} does not exist or already deleted.`);
6464
}
65+
6566
6667
# Step 4: Download the build artifact from the UPSTREAM repository after a PUSH event.
6768
- name: Download artifact from build workflow

0 commit comments

Comments
 (0)