You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following step definition makes the script exit with code 1 on a tag push:
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: nebula-actions/[email protected]
with:
asset-path: whatever
tag: ${{ github.ref }}
This is because github.ref includes the prefix refs/tags/, so your GH_RELEASE variable becomes:
The following step definition makes the script exit with code 1 on a tag push:
This is because
github.ref
includes the prefixrefs/tags/
, so yourGH_RELEASE
variable becomes:But the correct URL as per the GitHub API docs should be
The text was updated successfully, but these errors were encountered: