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

downloading workflows/checkout@v1 fails, and fails the build

Solved! Go to Solution.

Hello,

 

I wanted to update a github action workflow, and during this change I wanted to push force on master to have a clena history, however after that, the workflow don't work anymore. It can't download workflows/checkout@v1.

 

Current runner version: '2.161.0'
Prepare workflow directory
Prepare all required actions
Download action repository 'workflows/checkout@v1'
##[warning]Failed to download action 'https://api.github.com/repos/workflows/checkout/tarball/v1'. Error Response status code does not indicate success: 404 (Not Found).
##[warning]Back off 21.099999999999998 seconds before retry.
##[warning]Failed to download action 'https://api.github.com/repos/workflows/checkout/tarball/v1'. Error Response status code does not indicate success: 404 (Not Found).
##[warning]Back off 11.987 seconds before retry.
##[error]Response status code does not indicate success: 404 (Not Found).

 

Here's how it has been set up ?

 

name: Java CI

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: workflows/checkout@v1
      - name: Set up JDK 1.8
        uses: workflows/setup-java@v1
        with:
          java-version: 1.8
      - name: Build with Gradle
        run: ./gradlew build

 

I'm not sure what to do.

 

This is a single developer private repository.

2 Replies
Solution
Pilot Lvl 2
Message 2 of 3

Re: downloading workflows/checkout@v1 fails, and fails the build

You sure it should be `workflows/checkout`, and not `actions/checkout`? Same with `setup-java`.

Copilot Lvl 2
Message 3 of 3

Re: downloading workflows/checkout@v1 fails, and fails the build

@wipe2238Yes I found out that, turns out I created the action / workflow via the UI, and it worked. But somehow the repo changed to `actions`.

 

I would have self-answered that earlier, but the github.community bugged ranting about some errors and as such didn't let me reply.

 

Anyway thanks for the tip !!!