Browse Source

Updated the documentation

tags/v2
Cédric Belin 1 month ago
parent
commit
ddab1696f6
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      doc/index.md
  2. +2
    -2
      doc/usage.md
  3. +1
    -1
      example/build.yaml

+ 1
- 1
doc/index.md View File

@@ -11,7 +11,7 @@ If you haven't used GitHub Actions before, be sure to check out the [related doc
Setup the Dart SDK in a workflow:

<pre><code>steps:
- uses: cedx/setup-dart&commat;v1
- uses: cedx/setup-dart&commat;v2
- run: pub get
- run: pub run test</code></pre>



+ 2
- 2
doc/usage.md View File

@@ -34,7 +34,7 @@ Allowed values are:
Setup a specific version of the Dart SDK:

<pre><code>steps:
- uses: cedx/setup-dart&commat;v1
- uses: cedx/setup-dart&commat;v2
with:
architecture: x64
release-channel: dev
@@ -58,7 +58,7 @@ Setup multiple versions of the Dart SDK on multiple operating systems:
os: [macos-latest, ubuntu-latest, windows-latest]
sdk: [beta, dev, stable]
steps:
- uses: cedx/setup-dart&commat;v1
- uses: cedx/setup-dart&commat;v2
with:
release-channel: ${{matrix.sdk}}
- uses: actions/checkout&commat;v2


+ 1
- 1
example/build.yaml View File

@@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Dart
uses: cedx/setup-dart@v1
uses: cedx/setup-dart@v2
with:
architecture: x64
release-channel: stable


Loading…
Cancel
Save