Skip to content

Commit

Permalink
Merge pull request #770 from dolittle/cli-builds
Browse files Browse the repository at this point in the history
CLI build fixes
  • Loading branch information
mhelleborg authored Jun 13, 2024
2 parents 446643d + 1c841c1 commit 4a62fb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,14 @@ jobs:
asset_content_type: application/octet-stream
- name: Publish for macOS arm64
working-directory: ./Source/CLI
run: dotnet publish --configuration Release -p:Version=${{ needs.setup.outputs.next-version }} -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -p:RuntimeIdentifier=osx.11.0-arm64
run: dotnet publish --configuration Release -p:Version=${{ needs.setup.outputs.next-version }} -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -p:RuntimeIdentifier=osx-arm64
- name: Upload macOS arm64
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.setup.outputs.release-upload-url }}
asset_path: ./Source/CLI/bin/Release/net8.0/osx.11.0-arm64/publish/Dolittle.Runtime.CLI
asset_path: ./Source/CLI/bin/Release/net8.0/osx-arm64/publish/Dolittle.Runtime.CLI
asset_name: dolittle-macos-arm64
asset_content_type: application/octet-stream
- name: Publish for Windows x64
Expand Down Expand Up @@ -255,18 +255,6 @@ jobs:
asset_path: ./Source/CLI/bin/Release/net8.0/win-arm64/publish/Dolittle.Runtime.CLI.exe
asset_name: dolittle-win-arm64.exe
asset_content_type: application/octet-stream
- name: Publish for Windows arm
working-directory: ./Source/CLI
run: dotnet publish --configuration Release -p:Version=${{ needs.setup.outputs.next-version }} -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -p:RuntimeIdentifier=win-arm
- name: Upload Windows arm
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.setup.outputs.release-upload-url }}
asset_path: ./Source/CLI/bin/Release/net8.0/win-arm/publish/Dolittle.Runtime.CLI.exe
asset_name: dolittle-win-arm.exe
asset_content_type: application/octet-stream
- name: Publish for Linux x64
working-directory: ./Source/CLI
run: dotnet publish --configuration Release -p:Version=${{ needs.setup.outputs.next-version }} -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -p:RuntimeIdentifier=linux-x64
Expand Down
1 change: 1 addition & 0 deletions Integration/Benchmarks/Benchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<Import Project="../../default.props" />

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Benchmarks</AssemblyName>
<RootNamespace>Integration.Benchmarks</RootNamespace>
<OutputType>Exe</OutputType>
Expand Down

0 comments on commit 4a62fb1

Please sign in to comment.