TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

GitHub Actions is my new favorite free programming tool [video]

316 pointsby kmfover 5 years ago

17 comments

ccleveover 5 years ago
I have spent the last two days fighting with these new Github tools. I&#x27;ve been trying to do a simple Hello-World Maven app, built on Github Actions and deployed to Github Packages. It does not work.<p>Github documentation is a disaster. They leave out critical parts. They don&#x27;t provide examples. Everything they write is terse, confusing, and incomplete.<p>They have short little articles on how to do things, and for each sub-task they have a link to docs somewhere else. This would be fine, except the links don&#x27;t point to anything useful.<p>To give an example: they say you can use the Github API to talk to Github Packages, but the link goes to their generic GraphQL documentation. They don&#x27;t point to any reference material on the actual calls to the packages service. If it exists, I can&#x27;t find it.<p>If you go to the main page in your account for Github Packages, it says that all you have to do is this:<p>mvn deploy -Dregistry=<a href="https:&#x2F;&#x2F;maven.pkg.github.com&#x2F;mycompany" rel="nofollow">https:&#x2F;&#x2F;maven.pkg.github.com&#x2F;mycompany</a> -Dtoken=GH_TOKEN<p>That is just straight-out wrong. It does not work.<p>Seriously, Github, you need to fire your documentation team and hire some people who know how to write. Perhaps you should hire people who have actually used your tools to write the docs. Or just provide some freakin&#x27; working examples.
评论 #21840164 未加载
评论 #21838187 未加载
评论 #21840227 未加载
评论 #21840001 未加载
评论 #21840120 未加载
评论 #21838152 未加载
评论 #21842275 未加载
评论 #21840754 未加载
评论 #21838343 未加载
评论 #21841956 未加载
评论 #21841047 未加载
评论 #21838211 未加载
pm90over 5 years ago
I would hesitate to build on anything that relies on GitHub native tooling. GitHub support is absolutely the worst. Their tools fail in weird ways at times, and without support you will be stuck. For personal&#x2F;non production apps, fine. But beware of using it as a core part of your infrastructure.
评论 #21837339 未加载
kureikainover 5 years ago
Github actions is nice but I think they go to wrong direction. The way they work is you are given an image then you have to use a thing call Github action, which basically just to extract out into YAML to define a certain steps for install any dependencies, execute shell script ...<p>I don&#x27;t know why they didn&#x27;t allow us to use any docker image we want so we don&#x27;t have to waste time to use actions to install dependencies...Eg, if your app depend on both Go, Ruby, Node at build time you will need:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;actions&#x2F;setup-go" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;actions&#x2F;setup-go</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;actions&#x2F;setup-node" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;actions&#x2F;setup-node</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;actions&#x2F;setup-ruby" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;actions&#x2F;setup-ruby</a><p>I much prefer CircleCI way
评论 #21839462 未加载
评论 #21838409 未加载
评论 #21838505 未加载
评论 #21838216 未加载
评论 #21838169 未加载
评论 #21838380 未加载
评论 #21838314 未加载
keyPover 5 years ago
The GitHub Actions Runner has just been open sourced <a href="https:&#x2F;&#x2F;github.com&#x2F;actions&#x2F;runner" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;actions&#x2F;runner</a>
评论 #21841739 未加载
ShakataGaNaiover 5 years ago
Maybe it&#x27;s changed in the last month or two, but last time I looked at GitHub actions I couldn&#x27;t find a single example of &quot;Build docker container and push to GitHub Packages&quot;.<p>There are a lot of cool examples demo&#x27;ing some nifty stuff, but I&#x27;d like to see a lot of <i>very</i> basic examples first. The sort of thing anyone could&#x2F;would copy into their project and use, then later learn how to make it fancy.
itcrowdover 5 years ago
What&#x27;s up with so many YouTube video&#x27;s (including this one) having ALL CAPS titles?! It makes me not want to watch them, although it may be different for the general public for some reason ... ??
评论 #21836929 未加载
评论 #21837146 未加载
评论 #21836830 未加载
kenverover 5 years ago
We managed to move our iOS CI over to this in a couple of days. Produces multiple independent builds based on branch names, signed with an enterprise profile for testing and QA. These are uploaded and shared via ms app center. It also produces our App Store releases signed and uploaded to the App Store via a regular developer account.<p>The process was mostly just changing out a Jenkins file to the GitHub yml and sorting a few issues that cropped up.
pavlovover 5 years ago
I&#x27;d be hesitant to build on GitHub tools that have overlap with anything Microsoft provides. When something similar is introduced to Azure, why keep the subsidiary&#x27;s internal competition around?<p>This happened already with VS Code vs. Github&#x27;s Atom editor whose development has ceased earlier this year. (Not that I ever was a huge fan of Atom, but its discontinuation is a direct result of the Microsoft acquisition.)
评论 #21838523 未加载
评论 #21840786 未加载
评论 #21839956 未加载
amdelamarover 5 years ago
Only thing I don&#x27;t like about GitHub Actions so far is the YAML structure. e.g.<p><pre><code> name: master-pull-request on: pull_request: branches: - master jobs: test: name: run tests runs-on: ubuntu-18.04 steps: - uses: actions&#x2F;checkout@v1 - name: Run gradle test run: | .&#x2F;gradlew test </code></pre> I much prefer Drone CI&#x27;s YAML:<p><pre><code> kind: pipeline name: default steps: - name: run tests image: openjdk:8-jdk-slim # Docker images! commands: - .&#x2F;gradlew test</code></pre>
评论 #21841326 未加载
engineeroncallover 5 years ago
While it’s not perfect, GitHub Actions was pretty straightforward to set up for an open source iOS project I help manage[0].<p>Most of the actions were pre-existing Makefile targets used during the bootstrap process anyway, so the YAML config was fairly lightweight.<p>Echoing the other comments in the thread, the docs did feel a bit sparse when I last poked around (this was back when Actions was still in beta).<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;birdrides&#x2F;mockingbird" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;birdrides&#x2F;mockingbird</a>
louibover 5 years ago
I had to setup CI for a GitHub open source project recently, and decided to give GitHub Actions a try. I have to say it&#x27;s pretty nice to have the CI directly handled by GH (GitLab has been doing it for years, I know...). I hope it&#x27;s gonna help some open source projects to easily add CI validations to their PR workflow.<p>That being said, there was only Ubuntu images for the Linux builds, and I&#x27;m not aware of a way to run custom containers at the moment.
评论 #21838237 未加载
评论 #21839485 未加载
pyr0huover 5 years ago
I really liked GitHub&#x27;s pipeline description file, but my issue with GH Actions was that the pipeline was slow. The same job running on the cheapest&#x2F;slowest free-tier available Semaphore runner took half the time than on GitHub. That&#x27;s with caching, parallelization on GH too.<p>Otherwise it could be a good product, and I&#x27;d really like if I could manage the repos and the CI from one unified place
k__over 5 years ago
Tried it out a week ago, but the docs weren&#x27;t too helpful and the build templates I found were buggy.
评论 #21839104 未加载
darkwaterover 5 years ago
Free? We are a paying Org and pushed a few test docker images (built via Actions) to the new Packages (aka GH docker registry) and you have just 2GB really free (well, included in your plan). Then you have to pay extra. We have like 80 accounts, already paying a lot of $$$ to GH and they give you 10000 minutes of free Actions - which is cool - but ONLY 2 freaking gigabytes of storage for free??
vageliover 5 years ago
How do people test GHA before pushing to github? I encountered a tool or two to assist but they require the action to be described with HCL not the newer YAML syntax.
karaokeyogaover 5 years ago
Outstanding video ... beginner-friendly, great signal-to-noise ratio, succinct, excellent visuals and a clear voice.
评论 #21841066 未加载
NieDzejkobover 5 years ago
@mods As far as I understand, this should be tagged as [video].
评论 #21838109 未加载