Skip to content

Commit

Permalink
More CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Popax21 committed Apr 19, 2024
1 parent 4019d3d commit ca4273e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-apphost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ jobs:

- run: mv apphost/target/${{ matrix.target }}/release/${{ startsWith(matrix.os, 'windows') && 'piton.exe' || 'piton' }} ${{ matrix.name }}

- name: Upload Piton binaries
- name: Upload Piton binary
uses: actions/upload-artifact@v4
with:
name: apphost-binaries
name: apphost-bin-${{ matrix.name }}
path: ${{ matrix.name }}
8 changes: 2 additions & 6 deletions .github/workflows/build-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
- main

jobs:

# >>>>> Build / Cache the apphost binaries <<<<<
check-apphost-cache:
name: Check apphost binary cache

Expand Down Expand Up @@ -42,15 +40,15 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: apphost-binaries
pattern: apphost-bin-*
path: apphost
merge-multiple: true
- uses: actions/cache/save@v4
id: cache-check
with:
key: ${{ needs.check-apphost-cache.cache-key }}
path: apphost

# >>>>> Build the nuget package <<<<<
build-nugetpkg:
name: Build Nuget package

Expand All @@ -62,7 +60,6 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4

# Build / Cache the MSBuild tasks assembly
- name: Cache Piton MSBuild tasks assembly
uses: actions/cache@v4
id: cache-msbuild-tasks
Expand All @@ -78,7 +75,6 @@ jobs:
if: steps.cache-msbuild-tasks.outputs.cache-hit != 'true'
run: dotnet build -c Release -p:TreatWarningsAsErrors=true msbuild

# Pack the nuget package
- name: Pack nuget package
run: dotnet pack -p:TreatWarningsAsErrors=true --output out

Expand Down

0 comments on commit ca4273e

Please sign in to comment.