Skip to content

Root manifest not found #133

Closed
Closed
@SplittyDev

Description

@SplittyDev

Describe the bug
After setting up the workflow, it fails with the following message:

> Run swift build -v
/usr/bin/xcrun --sdk macosx --show-sdk-path
/usr/bin/xcrun --sdk macosx --show-sdk-platform-path
/usr/bin/xcrun --sdk macosx --find xctest
/Users/runner/hostedtoolcache/swift-macOS/5.3/x64/usr/bin/swiftc -print-target-info
error: root manifest not found
Error: Process completed with exit code 1.

To be honest I'm not completely sure that this is a bug in the workflow.
Is running the workflow like this supported for Swift Packages?

Workflow configuration (please complete the following information):

  • Platform (runs-on): macos-latest
  • Swift version (swift-version): 5.3

My workflow file:

name: Swift

on: [push, pull_request]

jobs:
  build:
    runs-on: macos-latest
    
    steps:
    - uses: fwal/setup-swift@v1
      with:
        swift-version: "5.3"
    - name: Get swift version
      run: swift --version
    - name: Build
      run: swift build -v
    - name: Run tests
      run: swift test -v

The PR adding the workflow:
FiveSheepCo/SchafKit#3

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions