Skip to content

Bump System.Text.Json from 8.0.4 to 8.0.5 in /GlucoseTray #19

Bump System.Text.Json from 8.0.4 to 8.0.5 in /GlucoseTray

Bump System.Text.Json from 8.0.4 to 8.0.5 in /GlucoseTray #19

Workflow file for this run

# Action on pull requests : Build, but don't create a release
name: .NET Core Pull Request
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4.1.7
- name: Setup .NET Core
uses: actions/setup-dotnet@v4.0.1
with:
dotnet-version: 8.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Dotnet Tests
# You may pin to the exact commit or the version.
# uses: EasyDesk/action-dotnet-test@228a60327933ff6200594e89a6fa906a69e5f1e6
uses: EasyDesk/action-dotnet-test@v1.0.0
with:
# Additional arguments to pass to 'dotnet test'.
#test-args: # optional
# The build configuration to use (defaults to 'Release').
#build-configuration: # optional, default is Release
# The path to the project or solution to test (defaults to the current directory).
#path: # optional, default is .
# Whether or not to skip the build using the '--no-build' flag (defaults to true).
skip-build: true # optional, default is true
- name: Publish
run: dotnet publish --configuration Release --no-restore
- name: read JSON property
id: version
uses: notiz-dev/github-action-json-property@v0.2.0
with:
# path to json file
path: ./GlucoseTray/appsettings.json
# which property to read
prop_path: appsettings.Version