Skip to content

Commit

Permalink
Remove global.json temporary in unit-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Web-Engine committed May 4, 2023
1 parent ab5a971 commit a9f2b72
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/qsi-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,15 @@ jobs:

- name: Setup .NET
id: setup-dotnet
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v3
with:
# Both global.json(Qsi) version and 7.0.x(Qsi.Tests) required
global-json-file: global.json
dotnet-version: 7.0.x

- name: Create temporary global.json
- name: Remove global.json
shell: bash
run: |
echo '{"sdk":{"version": "${{ steps.setup-dotnet.outputs.dotnet-version }}"}}' > ./global.json
run: rm global.json

- name: Setup Java
uses: actions/setup-java@v3
Expand Down

0 comments on commit a9f2b72

Please sign in to comment.