Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mertsch committed Feb 13, 2024
1 parent 90ff637 commit 7dc9e8d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.x
dotnet-version: 8.x
- name: Restore dependencies
run: dotnet restore Source/Launchbar.sln
- name: Build
Expand All @@ -27,8 +27,8 @@ jobs:
- name: Publish
run: dotnet publish Source/Launchbar.sln --no-build --configuration Release
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Launchbar
path: Source/Launchbar/bin/Release/publish/**
path: Source/artifacts/publish/Launchbar/release/**
if-no-files-found: error
3 changes: 2 additions & 1 deletion Source/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<!-- https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#enforcecodestyleinbuild -->
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- TODO: enable this -->
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 7dc9e8d

Please sign in to comment.