Skip to content

Commit

Permalink
Update actions versions in build-on-pr
Browse files Browse the repository at this point in the history
  • Loading branch information
gsvgit authored Jan 13, 2023
1 parent edf84a3 commit eddec31
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/build-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@ jobs:
- name: System Info
run: systeminfo

- uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Build
run: ./build.cmd DotnetBuild
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true

linux-build:
Expand All @@ -34,18 +33,17 @@ jobs:
- name: System Info
run: lscpu

- uses: actions/checkout@v1

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Build
run: |
chmod +x ./build.sh
./build.sh DotnetBuild
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true

linux-test-self-hosted:
Expand All @@ -55,7 +53,7 @@ jobs:
- name: System Info
run: lscpu

- uses: actions/checkout@v1
- uses: actions/checkout@v3

- name: OpenCL Info
run: clinfo
Expand All @@ -65,6 +63,4 @@ jobs:
chmod +x ./build.sh
./build.sh
env:
# Work around https://github.com/actions/setup-dotnet/issues/29
DOTNET_ROOT: ${{ runner.tool_cache }}/dncs/${{ matrix.dotnet }}/x64
CI: true

0 comments on commit eddec31

Please sign in to comment.