Skip to content

An action could not be found at the URI 'https://api.github.com/repos/actions/setup-node/tarball/v2 #191

Closed
@vetermanve

Description

@vetermanve

Hi, i've tried create action based on first example, but constantly have failed job starting
An action could not be found at the URI 'https://api.github.com/repos/actions/setup-node/tarball/v2'

My workflow


name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v2

      - uses: actions/setup-node@v2
        with:
          node-version: '12'
          check-latest: true
       
      - run: node --versrion | 
          npm --version

very generic.

i will try to use @1 version, but overall situation is quite strange - if v2 is not available you probably should remove example which uses v2 action. Or do some other thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions