mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Update build.yml
This commit is contained in:
parent
96dfb30411
commit
953b320f27
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -42,7 +42,10 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install .NET Core
|
||||
uses: actions/setup-dotnet@v1.7.2
|
||||
uses: actions/setup-dotnet@v1.8.0
|
||||
|
||||
- name: Setup NuGet.exe for use with actions
|
||||
uses: NuGet/setup-nuget@v1.0.5
|
||||
|
||||
- name: Set current version
|
||||
shell: pwsh
|
||||
@ -64,7 +67,8 @@ jobs:
|
||||
- name: Publish macOS x64 Agent
|
||||
shell: pwsh
|
||||
run: |
|
||||
dotnet publish /p:Version=$env:CurrentVersion /p:FileVersion=$env:CurrentVersion --runtime osx-x64 --configuration Release --output "./Agent/bin/publish" "./Agent"
|
||||
Write-Host "Publishing agent with version $env:CurrentVersion"
|
||||
dotnet publish /p:Version=$env:CurrentVersion /p:FileVersion=$env:CurrentVersion --runtime osx-x64 --configuration Release --output "./Agent/bin/publish/" "./Agent/"
|
||||
Compress-Archive -Path "./Agent/bin/publish/*" -DestinationPath "./Agent/bin/Remotely-MacOS-x64.zip" -Force
|
||||
|
||||
- name: Upload build artifact
|
||||
@ -113,7 +117,7 @@ jobs:
|
||||
|
||||
# Install the .NET Core workload
|
||||
- name: Install .NET Core
|
||||
uses: actions/setup-dotnet@v1.7.2
|
||||
uses: actions/setup-dotnet@v1.8.0
|
||||
|
||||
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
|
||||
- name: Setup MSBuild.exe
|
||||
|
||||
Loading…
Reference in New Issue
Block a user