Skip to content

Add hashFiles to the toolkit #472

Description

@thisismydesign

Describe the enhancement

I'm writing an action. Would like to call ${{ hashFiles(...) }} and ${{ runner.OS }} and get the result from within the action. Is this possible? I understand I could have these as inputs, however the purpose of my action is to simplify that process.

Code Snippet

Something along these lines:

index.js

constcore=require("@actions/core");asyncfunctionrun(){consthash=core.runExpression('hashFiles(...)')}run();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions