Skip to content

Commit

Permalink
Fix path to csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
IrishBruse committed Jul 7, 2024
1 parent 53c71d3 commit b21ce3b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/nuget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
strategy:
matrix:
project:
- "${{github.workspace}}/LDtk/LDtk.csproj"
- "${{github.workspace}}/LDtk.Codegen/LDtk.Codegen.csproj"
- "${{github.workspace}}/LDtk.ContentPipeline/LDtk.ContentPipeline.csproj"
- "LDtk/LDtk.csproj"
- "LDtk.Codegen/LDtk.Codegen.csproj"
- "LDtk.ContentPipeline/LDtk.ContentPipeline.csproj"
runs-on: ubuntu-latest

steps:
Expand All @@ -34,10 +34,10 @@ jobs:
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore ${{matrix.project}}
run: dotnet build --configuration Release --no-restore "${{github.workspace}}/${{matrix.project}}"

- name: Pack
run: dotnet pack --configuration Release --no-build --output ${{github.workspace}}/Nuget --no-restore --include-source ${{matrix.project}}
run: dotnet pack --configuration Release --no-build --output ${{github.workspace}}/Nuget --no-restore --include-source "${{github.workspace}}/${{matrix.project}}"

- name: Publish to Nuget
run: dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}} ${{matrix.project}}

0 comments on commit b21ce3b

Please sign in to comment.