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
03f7d24780
commit
5f841f8bae
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -58,12 +58,12 @@ jobs:
|
||||
echo "CurrentVersion=$CurrentVersion" >> $GITHUB_ENV
|
||||
|
||||
Write-Host "Setting current version to $CurrentVersion."
|
||||
|
||||
- name: Set current version
|
||||
shell: powershell
|
||||
run: |
|
||||
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: Set current version
|
||||
shell: powershell
|
||||
run: |
|
||||
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
|
||||
uses: actions/upload-artifact@v2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user