Skip to content

Commit

Permalink
Installing .NET 7.0 in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutomi committed Oct 18, 2023
1 parent 7a1705f commit 89b1ba5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ on:
jobs:
build:

runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup .NET
- name: Setup .NET Framework
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: |
6.0.x
7.0.x
- name: Install SQLite Spatial
run: sudo apt-get install -y sqlite3 libsqlite3-dev libsqlite3-mod-spatialite
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ on:
jobs:
build:

runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup .NET
- name: Setup .NET Framework
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: |
6.0.x
7.0.x
- name: Install SQLite Spatial
run: sudo apt-get install -y sqlite3 libsqlite3-dev libsqlite3-mod-spatialite
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup .NET
- name: Setup .NET Framework
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: |
6.0.x
7.0.x
- name: Get tag
id: tag
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<RootNamespace>Deveel</RootNamespace>
<VersionPrefix>1.2.1</VersionPrefix>
<VersionPrefix>1.2.5</VersionPrefix>
<Authors>Antonello Provenzano</Authors>
<Company>Deveel AS</Company>
<Copyright>(C) 2022-2023 Deveel AS</Copyright>
Expand Down

0 comments on commit 89b1ba5

Please sign in to comment.