Skip to content

Commit

Permalink
update github action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ahongbynder committed Sep 20, 2024
1 parent 4265b22 commit 5aea3fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest

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: '8.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@2.2.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./Bynder/Test/coverage.info
Expand All @@ -33,9 +33,9 @@ jobs:
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: '8.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
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest

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: '8.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@2.2.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./Bynder/Test/coverage.info
Expand Down

0 comments on commit 5aea3fc

Please sign in to comment.