Skip to content

Commit

Permalink
Fix release workflow examples build command
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Feb 14, 2024
1 parent 3a70ee0 commit fd45c72
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,13 @@ jobs:
dotnet nuget push *.nupkg --source $env:USERPROFILE/.nuget/packages
if: runner.os == 'Windows'
shell: powershell
- name: Set version from tag
run: echo "VERSION=$($env:GITHUB_REF.TrimStart('refs/tags/v'))" >> $env:GITHUB_ENV
- name: 🔨 Build Examples
run: for solution in examples/*/*/*.sln; do dotnet build "$solution"; done
run: |
for solution in examples/*/*/*.sln; do dotnet build "$solution"; done
if: runner.os == 'macOS' || runner.os == 'Linux'
shell: bash
- name: Set version from tag
run: echo "VERSION=$($env:GITHUB_REF.TrimStart('refs/tags/v'))" >> $env:GITHUB_ENV
- name: 🔨 Build Examples
run: |
$examples = Get-ChildItem -Path examples -Recurse -Include *.sln
Expand Down

0 comments on commit fd45c72

Please sign in to comment.