This repository was archived by the owner on Apr 15, 2021. It is now read-only.
File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 24
24
copy C:\Users\%USERNAME%\.nuget\packages\tdlib.native\1.3.0\runtimes\win-x64\native\zlib1.dll $(Build.SourcesDirectory)\src\Tel.Egram\bin\$(buildConfiguration)\netcoreapp2.1\win-x64\publish
25
25
displayName: 'copy native dependencies'
26
26
workingDirectory: $(Build.SourcesDirectory)\src\Tel.Egram
27
+ - powershell : |
28
+ Compress-Archive -Path $(Build.SourcesDirectory)\src\Tel.Egram\bin\$(buildConfiguration)\netcoreapp2.1\win-x64\publish -DestinationPath $(Build.ArtifactStagingDirectory)\egram.zip
27
29
- powershell : |
28
30
Invoke-WebRequest -Uri https://github.com/egramtel/nsis/raw/master/nsis.zip -OutFile $(Build.SourcesDirectory)\build\nsis\nsis.zip
29
31
Expand-Archive -Path $(Build.SourcesDirectory)\build\nsis\nsis.zip -DestinationPath $(Build.SourcesDirectory)/build/nsis
Original file line number Diff line number Diff line change @@ -37,5 +37,10 @@ echo $f
37
37
GITHUB_ASSET=" https://uploads.github.com/repos/$GITHUB_OWNER /egram.tel/releases/$release_id /assets?name=$( basename " $f " ) &access_token=$GITHUB_ACCESS_TOKEN "
38
38
curl --data-binary @" $f " -H " Content-Type: application/octet-stream" " $GITHUB_ASSET "
39
39
40
+ f=" $SYSTEM_ARTIFACTSDIRECTORY /_egram/installer/egram.zip"
41
+ echo $f
42
+ GITHUB_ASSET=" https://uploads.github.com/repos/$GITHUB_OWNER /egram.tel/releases/$release_id /assets?name=$( basename " $f " ) &access_token=$GITHUB_ACCESS_TOKEN "
43
+ curl --data-binary @" $f " -H " Content-Type: application/octet-stream" " $GITHUB_ASSET "
44
+
40
45
echo " Success!"
41
46
exit 0
You can’t perform that action at this time.
0 commit comments