-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Actions documentation shows old checkout-version #704
Comments
TBH, we need to figure out which one of these works the best. But I haven't really found either one of them to work as it should on GitHub actions (for tag builds) due to it always creating a merge commit when checking out the action (I think that is the reason, can't remember exactly). |
the docs for actions/checkout state
not sure about the tags, though. |
it fetches all of the history, but I found that it didn't necessarily fetch all of the branch/tag names. |
@AdmiringWorm in some files (I think yours, too) I also found: with:
ref: ${{ github.event.ref }} which I copied into some of my files. Now, looking at https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows I feel like that's not needed. Any ideas why the Also, from my understanding, on a clean checkout when the next command is |
In general, you do not need it.
if setting |
@AdmiringWorm going over the code in
I feel that's not really needed. (That is to say: I don't have it any of my builds...) EDIT: |
to the list of steps and explained why that is needed.
to the list of steps and explained why that is needed.
You are right, it isn't necessary in the GitHub actions anymore (it used to be required). I don't know about travis though, while it needs to install .NET Core, I am not sure why it is done through chocolatey (as usually I have done it through the |
I created #742 to check the travis-ci page. |
🎉 This issue has been resolved in version 2.2.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
as discussed the current documentation at https://cake-contrib.github.io/Cake.Recipe/docs/ci-systems/github lists
while f385c90 shows:
We need to get these either sorted (why do we use two different ways of doing stuff) or documented. Probably first sorted, then documented.
The text was updated successfully, but these errors were encountered: