Skip to content

Commit

Permalink
Version constraint on .NET (#21)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ssomayyajula and ssomayyajula authored Jul 13, 2024
1 parent f2a6243 commit bf5fd33
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,15 @@ inputs:
required: true
default: "3.1.0"
runs:
using: "node16"
main: "dist/index.js"
using: "composite"
steps:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
- uses: actions/setup-node@v4
with:
node-version: 16
- run: node dist/index.js
shell: bash
env:
INPUT_DAFNY-VERSION: ${{ inputs.dafny-version }}

0 comments on commit bf5fd33

Please sign in to comment.