diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 792caf9..904060c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,7 +67,7 @@ jobs: tag_exists = true; core.info(`the tag ${tag} already exists on ${resp.data.object.type} ${resp.data.object.sha}`); } catch(err) { - if(err.status !== 404){ + if(err.status !== 404 && err.status !== '404'){ throw err; } } @@ -121,7 +121,7 @@ jobs: go-version: ${{ steps.info.outputs.go_version }} - run: VERSION='${{ github.event.inputs.tag }}' make dist - name: upload release assets - uses: konveyor/move2kube-upload-release-action@v3 + uses: konveyor/move2kube-upload-release-action@v3.0.1 with: repo_token: ${{ secrets.GITHUB_TOKEN }} tag: ${{ github.event.inputs.tag }}