Browse Source

Added support for beta releases

tags/v1.3.0
Cédric Belin 6 months ago
parent
commit
9933b2a171
3 changed files with 8 additions and 4 deletions
  1. +2
    -2
      action.yml
  2. +3
    -2
      doc/usage.md
  3. +3
    -0
      src/dart_sdk.ts

+ 2
- 2
action.yml View File

@@ -8,10 +8,10 @@ branding:

inputs:
architecture:
description: The processor architecture of the Dart SDK ("arm", "arm64", "ia32" or "x64").
description: The processor architecture of the Dart SDK ("x64", "ia32", "arm64" or "arm64").
required: false
release-channel:
description: The release channel of the Dart SDK ("dev" or "stable").
description: The release channel of the Dart SDK ("stable", "beta" or "dev").
default: stable
required: false
version:


+ 3
- 2
doc/usage.md View File

@@ -17,8 +17,9 @@ Allowed values are:
The release channel of the Dart SDK (optional, defaults to `"stable"`).
Allowed values are:

- `stable`: the stable release of the SDK.
- `dev`: the development release of the SDK.
- `stable`: the stable release of the SDK. Stable channel builds are tested and approved for production use.
- `beta`: the beta release of the SDK. Beta channel builds are preview builds for the stable channel.
- `dev`: the development release of the SDK. Dev channel builds can provide early access to new features but might contain bugs.

### **version**: string
The version number of the Dart SDK (optional, defaults to `"latest"`).


+ 3
- 0
src/dart_sdk.ts View File

@@ -36,6 +36,9 @@ export enum Platform {
/** Defines the release channel of the Dark SDK. */
export enum ReleaseChannel {

/** Specifies a development release of the Dart SDK. */
beta = 'beta',

/** Specifies a development release of the Dart SDK. */
dev = 'dev',



Loading…
Cancel
Save