Skip to content

Commit

Permalink
Merge pull request #140 from VaclavElias/github-action-fix
Browse files Browse the repository at this point in the history
GitHub action fix
  • Loading branch information
VaclavElias authored May 29, 2024
2 parents 9757522 + 2a7d0f4 commit 51b5fb1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dotnet-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ jobs:
$updatedCsprojContent = $settingsContent -replace '<Version>.*?</Version>', "<Version>${{ env.VERSION }}</Version>"
Set-Content -Path ${{ env.COMMON_SETTINGS_PATH }} -Value $updatedCsprojContent
- name: Create .sarif Directory
run: New-Item -ItemType Directory -Force -Path D:\.sarif
shell: pwsh
# Not needed as Directory.Build.props added a condition to this target
# - name: Create .sarif Directory
# run: New-Item -ItemType Directory -Force -Path D:\.sarif
# shell: pwsh

# Stride.CommunityToolkit
- name: Restore dependencies - Stride.CommunityToolkit
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
with:
dotnet-version: 8.0.x

- name: Create .sarif Directory
run: New-Item -ItemType Directory -Force -Path D:\.sarif
shell: pwsh
# Not needed as Directory.Build.props added a condition to this target
# - name: Create .sarif Directory
# run: New-Item -ItemType Directory -Force -Path D:\.sarif
# shell: pwsh

# Stride.CommunityToolkit
- name: Restore Stride.CommunityToolkit dependencies
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<PropertyGroup Condition="'$(SolutionDir)' != ''">
<ErrorLog>$(SolutionDir)\.sarif\$(MSBuildProjectName).json</ErrorLog>
</PropertyGroup>
</Project>
2 changes: 0 additions & 2 deletions src/CommonSettings.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
<PackageIcon>nuget-icon.png</PackageIcon>
<Copyright>Stride Contributors</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<!-- Once the issue with deployment is resolved, this can be removed -->
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 51b5fb1

Please sign in to comment.