No tag found in ref or input!
See original GitHub issueError->
Error undefined: No tag found in ref or input!
I’m using the source tree for tagging the commits & also tried this command ->
git tag v1.0.5
git push origin v1.0.5
git push -u origin master
maybe I’m doing something wrong.I’m new to GitHub actions.
workflow file:-
name: Build
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2.1.0
- name: Cache node modules
uses: actions/cache@v1.1.2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and npm run build
run: |
npm i
npm run build
- name: Push Build to Releases
uses: ncipollo/release-action@v1
with:
artifacts: "dist/paper-dj-ui/*"
token: ${{ secrets.TOKEN }}
Thanks & regards, saurabh
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Error undefined: No tag found in ref or input! #26381 - GitHub
Hi,. I am trying to create an action that will detect when a change has happened on a certain branch and then build...
Read more >GitHub Action - Error undefined: No tag found in ref or input
Error undefined: No tag found in ref or input! This is my yml file: # Creates a release whenever a new change gets...
Read more >Flutter codebase to APK build in GitHub Actions returns ...
Coding example for the question Flutter codebase to APK build in GitHub Actions returns 'undefined: No tag found in ref or input!'-Flutter.
Read more >7 Github Actions Tricks I Wish I Knew Before I Started
Here we setup a workflow manual dispatch that accepts an input “version”. ... inputs.version }} –tag latest –no-git-tag-version –no-push.
Read more >git-tag Documentation - Git
If no number is given to -n , only the first line is printed. If the tag is not annotated, the commit message...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This should be in the docs
Okay I got it! This is why it was not working - https://github.community/t5/GitHub-Actions/Output-from-one-step-with-ID-to-another-is-empty/td-p/44432 I found a work around. Thank you anyways.