mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 13:15:03 +00:00
style: Improve file paths and package output in docker workflow
This commit is contained in:
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
@@ -65,19 +65,13 @@ jobs:
|
|||||||
run: nuget restore .\$($Env:SOLUTION_FILE).sln
|
run: nuget restore .\$($Env:SOLUTION_FILE).sln
|
||||||
# Build the solutions in the docker image
|
# Build the solutions in the docker image
|
||||||
- name: Build Solution
|
- name: Build Solution
|
||||||
run: msbuild .\$($Env:SOLUTION_FILE).sln /p:Platform="Any CPU" /p:Configuration="Debug" /p:Version="${{ steps.setVersion.outputs.version }}" -m
|
run: msbuild .\$($Env:SOLUTION_FILE).sln /p:Platform="Any CPU" /p:Configuration="Debug" /p:Version="${{ steps.setVersion.outputs.version }}" /p:PackageOutputPath=".\output" -m
|
||||||
- name: Create tag for non-rc builds
|
- name: Create tag for non-rc builds
|
||||||
if: contains(steps.setVersion.outputs.version, 'alpha')
|
if: contains(steps.setVersion.outputs.version, 'alpha')
|
||||||
run: |
|
run: |
|
||||||
git tag ${{ steps.setVersion.outputs.version }}
|
git tag ${{ steps.setVersion.outputs.version }}
|
||||||
git push --tags origin
|
git push --tags origin
|
||||||
# Create the release on the source repo
|
# Create the release on the source repo
|
||||||
- name: Install 7-Zip
|
|
||||||
run: choco install 7zip.install -y
|
|
||||||
- name: Add CPZ and CPLZ to NuGet Package
|
|
||||||
run: |
|
|
||||||
7z a .\output\PepperDash.Essentials.${{ steps.setVersion.outputs.version }}.nupkg .\output\**\*.cpz..\builds
|
|
||||||
7z a .\output\PepperDash.Essentials.${{ steps.setVersion.outputs.version }}.nupkg .\output\**\*.cplz..\builds
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
# if: contains(steps.setVersion.outputs.version,'-rc-') ||
|
# if: contains(steps.setVersion.outputs.version,'-rc-') ||
|
||||||
|
|||||||
@@ -23,10 +23,10 @@
|
|||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include=".\PepperDashEssentials\bin\*.cpz">
|
<Content Include="output\**\*.cpz">
|
||||||
<Pack>true</Pack>
|
<Pack>true</Pack>
|
||||||
<PackagePath>lib/{tfm}</PackagePath>
|
<PackagePath>content\</PackagePath>
|
||||||
</None>
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Crestron.SimplSharp.SDK.Program" Version="2.20.42" />
|
<PackageReference Include="Crestron.SimplSharp.SDK.Program" Version="2.20.42" />
|
||||||
|
|||||||
Reference in New Issue
Block a user