Comments (4)
Well, we could move those lines further down:
Lines 81 to 82 in bfeb9e0
but then you would encounter the problem when publishing packages, wouldn't you?
Do you have any guesses on why this fails for you? It looks quite bizarre - you are cloning a repository as the very first step of your workflow, so how git repository could not be found? 🤔
from action.
True. Only difference I can think of from the the example is that its running in a container and not directly on the vm and it's using Node 14.5 instead of LTS. I'll try printing the CWD and debugging later today.
from action.
It was because I was using the node:14.5
that uses Debian Stretch which has git < 2.18 and so the checkout action uses the GitHub API instead of git for whatever reason. I switched to node:14.5-buster
and it worked, thanks!
from action.
I came across the same thing, as an alternative if you need a stretch image you can do:
# Add stretch-backports for newer git
RUN echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
RUN apt-get update && apt-get install -y -t stretch-backports git && \
apt-get clean all && \
rm -rf /var/lib/apt/lists/*
from action.
Related Issues (20)
- Automatically Create Betas
- Publish not working for internal Artifactory registry HOT 4
- Workflow of git action throw error while we setup `type:module` on package.json HOT 2
- Avoid marking releases as Latest
- Github action fail with changeset publish
- Error "No user .npmrc file found" when file actually exists HOT 2
- Any plans to verify changesets org w/ GitHub and publish to Marketplace
- pathspec 'changeset-release/main' did not match any file(s) known to git HOT 6
- HttpError: Not Found HOT 9
- There is no .changeset folder
- How can I change release body content and title?
- actuon HOT 1
- action
- Major version bump where minor is set HOT 1
- useCalculatedVersion option not working HOT 1
- Support private registry
- action formatting package.json in wrong way HOT 1
- How can I automate version updates and releases?
- Suggestion: add input to specify the target branch
- Selective release HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from action.