We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c469c6c commit 8e839f1Copy full SHA for 8e839f1
.github/workflows/release.yml
@@ -116,8 +116,8 @@ jobs:
116
core.info(`the tag ${tag} already exists on ${resp.data.object.type} ${resp.data.object.sha}`);
117
} catch(err) {
118
core.info('DEBUG 4 an error occurred while checking if the tag exists');
119
- core.info(`DEBUG 5 err.status ${err.status}`);
120
- if(err.status !== 404){
+ core.info(`DEBUG 5 err.status: ${typeof(err.status)} ${err.status}`);
+ if(err.status !== 404 && err.status !== '404'){
121
throw err;
122
}
123
core.info('DEBUG 6 the tag does not exist');
0 commit comments