Skip to content

Commit

Permalink
Merge pull request #151 from knocte/upgradeUbuntuCi
Browse files Browse the repository at this point in the history
CI: upgrade Ubuntu 18.04 to 20.04
  • Loading branch information
joemphilips authored Mar 31, 2021
2 parents 796669e + 5c6b5d9 commit 4812785
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, macos-latest, windows-latest]
os: [ubuntu-20.04, macos-latest, windows-latest]
dotnet: ['3.1.200']
fail-fast: true
steps:
Expand All @@ -17,7 +17,7 @@ jobs:

- name: Run tests (Portability)
# we want to run only once.
if: startsWith(matrix.os, 'ubuntu-18')
if: startsWith(matrix.os, 'ubuntu-20')
run: |
dotnet build tests/DotNetLightning.Core.Tests -p:Portability=True
dotnet run --no-build --project tests/DotNetLightning.Core.Tests
Expand All @@ -33,7 +33,7 @@ jobs:
dotnet test
build_with_fsharp_from_mono:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, macos-latest, windows-latest]
os: [ubuntu-20.04, macos-latest, windows-latest]
include:
- os: ubuntu-18.04
- os: ubuntu-20.04
RID: linux
- os: macos-latest
RID: osx
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
create_release:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
# workaround for upload-release-asset does not support variable expansion.
# see: https://github.com/actions/upload-release-asset/issues/17
Expand Down Expand Up @@ -42,9 +42,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, macos-latest, windows-latest]
os: [ubuntu-20.04, macos-latest, windows-latest]
include:
- os: ubuntu-18.04
- os: ubuntu-20.04
RID: linux
- os: macos-latest
RID: osx
Expand All @@ -71,7 +71,7 @@ jobs:
- name: pack and push to nuget (BouncyCastle)
# we want to run only once.
if: startsWith(matrix.os, 'ubuntu-18')
if: startsWith(matrix.os, 'ubuntu-20')
run: |
echo "releasing BouncyCastle version to nuget..."
dotnet pack -p:Configuration=Release src/DotNetLightning.Core -p:BouncyCastle=True
Expand All @@ -81,7 +81,7 @@ jobs:
- name: upload release asset (BouncyCastle version)
# we want to run only once.
if: startsWith(matrix.os, 'ubuntu-18')
if: startsWith(matrix.os, 'ubuntu-20')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4812785

Please sign in to comment.