Skip to content

Commit

Permalink
Update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik van Brakel committed Feb 6, 2024
1 parent cb603d5 commit b2e58c5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
jobs:
build-tests:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: '5.0.x'
- name: Build
Expand All @@ -29,13 +29,13 @@ jobs:

publish-nuget:
name: Release
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build-tests

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: '5.0.x'

Expand All @@ -46,7 +46,7 @@ jobs:
run: dotnet build --configuration Release --no-restore

- name: Publish to NuGet
uses: brandedoutcast/publish-nuget@v2
uses: brandedoutcast/publish-nuget@v2.5.5
with:
PROJECT_FILE_PATH: Bynder/Sdk/Bynder.Sdk.csproj
VERSION_REGEX: '^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on: [ push, pull_request ]
jobs:
build:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: '5.0.x'
- name: Build
Expand All @@ -21,7 +21,7 @@ jobs:
run: dotnet test --no-build --configuration Release /p:CollectCoverage=true /p:CoverletOutputFormat=lcov

- name: Publish coverage report to Coveralls
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2.2.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./Bynder/Test/coverage.info
Expand Down

0 comments on commit b2e58c5

Please sign in to comment.