Skip to content

could not find manifest entry in GitHub Actions #657

@aquaresima

Description

@aquaresima

Hello,

I am running CI for this package, which is registered in Julia's registry. This is the script:

name: CI

on:
  push:
    branches:
      - main
      - dev
  pull_request:

permissions:
  actions: write
  contents: read

jobs:
  test:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Set up Julia
        uses: julia-actions/setup-julia@latest
        with:
          version: '1'

      - name: Setup cache
        uses: julia-actions/cache@v2

      - name: Install Dependencies
        uses: julia-actions/julia-buildpkg@v1

      - name: Run tests
        uses: julia-actions/julia-runtest@v1

The Action fails in the Install Dependencies

Run if "false" == "false" && !isdir(DEPOT_PATH[1])
  Installing known registries into `~/.julia`
       Added `General` registry to ~/.julia/registries
ERROR: LoadError: could not find manifest entry for package with uuid 033835bb-8acc-5ee8-8aae-3f567f8a3819
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types /opt/hostedtoolcache/julia/1.11.6/x64/share/julia/stdlib/v1.11/Pkg/src/Types.jl:68
  [2] _get_deps!(collected_uuids::Set{Base.UUID}, env::Pkg.Types.EnvCache, new_uuids::Set{Base.UUID})
    @ Pkg.Operations /opt/hostedtoolcache/julia/1.11.6/x64/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1009
  [3] _get_deps!(collected_uuids::Set{Base.UUID}, env::Pkg.Types.EnvCache, new_uuids::Set{Base.UUID})
    @ Pkg.Operations /opt/hostedtoolcache/julia/1.11.6/x64/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1013
  [4] get_deps
    @ /opt/hostedtoolcache/julia/1.11.6/x64/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:998 [inlined]
  [5] build(ctx::Pkg.Types.Context, uuids::Set{Base.UUID}, verbose::Bool)
    @ Pkg.Operations /opt/hostedtoolcache/julia/1.11.6/x64/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1033
  [6] build(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; verbose::Bool, kwargs::@Kwargs{io::IOContext{IO}})
    @ Pkg.API /opt/hostedtoolcache/julia/1.11.6/x64/share/julia/stdlib/v1.11/Pkg/src/API.jl:1110
  [7] build(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{verbose::Bool})
    @ Pkg.API /opt/hostedtoolcache/julia/1.11.6/x64/share/julia/stdlib/v1.11/Pkg/src/API.jl:159
  [8] build(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::@Kwargs{verbose::Bool})
    @ Pkg.API /opt/hostedtoolcache/julia/1.11.6/x64/share/julia/stdlib/v1.11/Pkg/src/API.jl:174
  [9] build
    @ /opt/hostedtoolcache/julia/1.11.6/x64/share/julia/stdlib/v1.11/Pkg/src/API.jl:165 [inlined]
 [10] (::Base.var"#106#108"{Base.var"#106#107#109"{ExponentialBackOff, Nothing, typeof(Pkg.API.build)}})(; kwargs::@Kwargs{verbose::Bool})
    @ Base ./error.jl:312
 [11] top-level scope
    @ ~/work/_temp/28bb6c32-ecbe-4e40-8ae2-cd473c89b48a:32
in expression starting at /home/runner/work/_temp/28bb6c32-ecbe-4e40-8ae2-cd473c89b48a:32
Error: Process completed with exit code 1.

It seems there is a problem with your package UUID.

I checked in the Project.toml and it seems just fine [compat] = 0.5.
Also I don't have any issue in installing my package from the julia registries, and the CI for a third package that includes mine works fine.

I am puzzled. Do you have any idea?

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