- Notifications
You must be signed in to change notification settings - Fork1
A template to demonstrate how to build a Dart GitHub Action.
License
axel-op/hello-world-dart-github-action
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
See here for a comparison of the different ways to build a GitHub Action with Dart.
A "Hello World" GitHub Action coded in Dart.
This action prints "Hello World" or "Hello" + the name of a person to greet to the log.
The Dart application is located in theapp directory. To use this template, just edit the files inside this directory as you would with any Dart program, and it will work without modifiying any other file.
This action requires the workflow to set up a Dart container before its execution (see the example below).See here to build an action with Dart that doesn't need a Dart container to run.
Required The name of the person to greet. Default"World".
The time we greeted you.
jobs:example:runs-on:ubuntu-latestcontainer:google/dart:2# Required to run the actionsteps: -uses:axel-op/hello-world-dart-action@masterid:dart-actionwith:who-to-greet:"Mona the Octocat" -run:echo 'The time was ${{ steps.dart-action.outputs.time }}'
About
A template to demonstrate how to build a Dart GitHub Action.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.