Skip to content

Commit bf5fd33

Browse files
Siva Somayyajulassomayyajula
andauthored
Version constraint on .NET (#21)
Enforces version constraint on .NET so that runners don't use too new a version of .NET (macos arm64 runners will at the moment). --------- Co-authored-by: Siva Somayyajula <somayyas@amazon.com>
1 parent f2a6243 commit bf5fd33

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

action.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,15 @@ inputs:
99
required: true
1010
default: "3.1.0"
1111
runs:
12-
using: "node16"
13-
main: "dist/index.js"
12+
using: "composite"
13+
steps:
14+
- uses: actions/setup-dotnet@v4
15+
with:
16+
dotnet-version: '6.0.x'
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: 16
20+
- run: node dist/index.js
21+
shell: bash
22+
env:
23+
INPUT_DAFNY-VERSION: ${{ inputs.dafny-version }}

0 commit comments

Comments
 (0)