Skip to content

Commit f4d8bd5

Browse files
authored
Use Ubuntu 22.04 instead of latest (24.04) (#99)
* Update actions/setup-dotnet from version 3 to version 4 https://github.com/actions/setup-dotnet * Use Ubuntu 22.04 instead of latest (24.04)
1 parent 1b65a57 commit f4d8bd5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/build-examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ on:
88

99
jobs:
1010
build-examples:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212

1313
steps:
1414
- uses: actions/checkout@v4
1515
- name: Setup latest version of dotnet
16-
uses: actions/setup-dotnet@v3
16+
uses: actions/setup-dotnet@v4
1717
- name: Build nuget with latest version
1818
run: ./scripts/pack-nuget.bash "examples/nuget-packages"
1919
- name: Build examples with new nuget

.github/workflows/dotnet-core.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build-and-test:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212

1313
strategy:
1414
matrix:
@@ -30,12 +30,12 @@ jobs:
3030
steps:
3131
- uses: actions/checkout@v4
3232
- name: Setup latest version of dotnet
33-
uses: actions/setup-dotnet@v3
33+
uses: actions/setup-dotnet@v4
3434
- name: Build with latest version
3535
run: dotnet build --warnaserror Aspose.BarCode.Cloud.Sdk.sln
3636

3737
- name: Setup ${{ matrix.dotnet-version }} version of dotnet
38-
uses: actions/setup-dotnet@v3
38+
uses: actions/setup-dotnet@v4
3939
with:
4040
dotnet-version: ${{ matrix.dotnet-version }}
4141

.github/workflows/pack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
pack-nuget:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212

1313
steps:
1414
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)