Skip to content

Commit

Permalink
Update GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
charliefoxtwo committed Jun 9, 2024
1 parent 19a7c8b commit 3ff7f4b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: .NET 6 CI build
name: .NET 8 CI build

on:
push:
Expand All @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.400
dotnet-version: 8.0.206
- name: Install dependencies
run: dotnet restore
- name: Build
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
name: build, pack & publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- name: Setup .NET
uses: actions/setup-dotnet@v14
with:
dotnet-version: 6.0.400
dotnet-version: 8.0.206

# Publish
- name: publish on version change
Expand All @@ -22,11 +22,11 @@ jobs:
with:
# Filepath of the project to be packaged, relative to root of repository
PROJECT_FILE_PATH: DcsBiosCommunicator/DcsBiosCommunicator.csproj

# NuGet package id, used for version detection & defaults to project name
PACKAGE_NAME: DcsBios.Communicator

# Regex pattern to extract version info in a capturing group
VERSION_REGEX: ^\s*<PackageVersion>(.*)<\/PackageVersion>\s*$

NUGET_KEY: ${{secrets.NUGET_API_KEY}}

0 comments on commit 3ff7f4b

Please sign in to comment.