Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve rust-setup error #14721

Merged
merged 1 commit into from
Sep 23, 2024
Merged

resolve rust-setup error #14721

merged 1 commit into from
Sep 23, 2024

Commits on Sep 23, 2024

  1. resolve rust-setup error

    I put in the if- condition to speed up iteration on PRs, and it looks
    like when the condition is not hit, rust-setup is not happy with it.
    Removing to unbreak main.
    
    ```
    Error:
    aptos-labs/aptos-core/main/.github/actions/rust-setup/action.yaml: The
    scalar style 'SingleQuoted' on line 23 and column 11 is not valid with
    the tag '!startsWith(github.ref,'
    Error: System.ArgumentException: Unexpected type '' encountered while
    reading 'action manifest root'. The type 'MappingToken' was expected.
       at
       GitHub.DistributedTask.ObjectTemplating.Tokens.TemplateTokenExtensions.AssertMapping(TemplateToken
       value, String objectDescription)
          at
          GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext
          executionContext, String manifestFile)
          Error: Failed to load
          aptos-labs/aptos-core/main/.github/actions/rust-setup/action.yaml
    ```
    msmouse committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    9301c29 View commit details
    Browse the repository at this point in the history