Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthri committed Apr 23, 2023
1 parent da9793e commit 9bff5ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- name: Build & Pack Project
id: build
run: dotnet pack -warnaserror -c Release
run: dotnet pack -warnaserror -c Release -p:BELP_OUTPUT_PACKAGE_TO_CI=true

- name: Publish Package
env:
Expand Down
7 changes: 7 additions & 0 deletions src/Belp.SDK.PackOnly/Belp.SDK.PackOnly.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@



<Target Name="_EXPORT_PACKAGE_OUTPUT_PATH" AfterTargets="Pack" Condition="'$(BELP_OUTPUT_PACKAGE_TO_CI)' == 'true'">
<Error Text="%24%28GITHUB_OUTPUT%29 is undefined" Condition="'$(GITHUB_OUTPUT)' == ''" />
<WriteLinesToFile File="$(GITHUB_OUTPUT)" Lines="PACKAGE_OUTPUT_PATH=$(PackageOutputAbsolutePath)" />
</Target>



<Import Project="Assets\Sdk\Sdk.targets" />

</Project>

0 comments on commit 9bff5ba

Please sign in to comment.