Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 3

Github Action not building and no logs are visible

Solved! Go to Solution.

Hi everyone.

 

I'm trying to use Github Actions, but I'm getting a failing build without much output.

 

This is all the output:

 

### STARTED build_it 05:42:03Z

Pulling image: gcr.io/github-actions-images/action-runner:latest
latest: Pulling from github-actions-images/action-runner
169185f82c45: Pulling fs layer
0ccde4b6b241: Pulling fs layer
d0372f57daa2: Pulling fs layer
165911d108d6: Pulling fs layer
54996bce1de5: Pulling fs layer
165911d108d6: Waiting
54996bce1de5: Waiting
d0372f57daa2: Verifying Checksum
d0372f57daa2: Download complete
169185f82c45: Verifying Checksum
169185f82c45: Download complete
0ccde4b6b241: Verifying Checksum
0ccde4b6b241: Download complete
165911d108d6: Verifying Checksum
165911d108d6: Download complete
54996bce1de5: Verifying Checksum
54996bce1de5: Download complete
169185f82c45: Pull complete
0ccde4b6b241: Pull complete
d0372f57daa2: Pull complete
165911d108d6: Pull complete
54996bce1de5: Pull complete
Digest: sha256:c9bb432ec5ec08ee08b040a9fccacebbbf8a91444dac4721600cf5dca9dae57e
Status: Downloaded newer image for gcr.io/github-actions-images/action-runner:latest

### FAILED build_it 05:42:03Z (530ms)

Here is the repository: https://github.com/Skarlso/blogsource

And here is the workflow file:

 

workflow "Publish Blog" {
  on = "push"
  resolves = ["publish_it"]
}

action "build_it" {
  uses = "./.github/actions/build_it@master"
  secrets = ["GITHUB_TOKEN"]
}

action "publish_it" {
  uses = "./.github/actions/publish_it@master"
  needs = ["build_it"]
  secrets = ["GITHUB_TOKEN"]
}

And here are the actions: https://github.com/Skarlso/blogsource/tree/master/.github

 

At this point I have no idea what the problem might be. :/

 

Any help would be greatly appreciated!

 

Cheers,

Gergely.

2 Replies
Solution
Copilot Lvl 2
Message 2 of 3

Re: Github Action not building and no logs are visible

The problem was that it didn't actually find the action to execute. I had to extract the actions into their respective repositories. Now it works.

Community Manager
Message 3 of 3

Re: Github Action not building and no logs are visible

Hey @Skarlso thanks a lot for coming back to share what worked for you! In the meantime, we're looking forward to seeing you around!

Thanks for being here, sharing, and keeping our community awesome!
Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!