Compare commits
5 commits
Author | SHA1 | Date | |
---|---|---|---|
ff39390505 | |||
e849d5ed43 | |||
e7fbfd9d8d | |||
52937f3839 | |||
3a131d93ed |
2 changed files with 26 additions and 12 deletions
|
@ -42,7 +42,19 @@ jobs:
|
|||
--self-contained true \
|
||||
-p:PublishSingleFile=true \
|
||||
-p:PublishTrimmed=true \
|
||||
-o ./output_linux
|
||||
-o ./output_linux_x64
|
||||
|
||||
- name: Build the project (Linux arm64)
|
||||
run: |
|
||||
dotnet publish ./Cryptura/Cryptura.csproj \
|
||||
-c Release \
|
||||
-r linux-arm64 \
|
||||
--self-contained true \
|
||||
-p:PublishSingleFile=true \
|
||||
-p:PublishTrimmed=true \
|
||||
-o ./output_linux_arm64
|
||||
|
||||
|
||||
|
||||
- name: Build the project (Windows x64)
|
||||
run: |
|
||||
|
@ -52,17 +64,18 @@ jobs:
|
|||
--self-contained true \
|
||||
-p:PublishSingleFile=true \
|
||||
-p:PublishTrimmed=true \
|
||||
-o ./output_win
|
||||
-o ./output_win_x64
|
||||
|
||||
- name: Build the project (OSX x64)
|
||||
- name: Build the project (Windows arm64)
|
||||
run: |
|
||||
dotnet publish ./Cryptura/Cryptura.csproj \
|
||||
-c Release \
|
||||
-r osx-x64 \
|
||||
-r win-arm64 \
|
||||
--self-contained true \
|
||||
-p:PublishSingleFile=true \
|
||||
-p:PublishTrimmed=true \
|
||||
-o ./output_osx
|
||||
-o ./output_win_arm64
|
||||
|
||||
|
||||
- name: Download appimagetool
|
||||
run: |
|
||||
|
@ -72,7 +85,7 @@ jobs:
|
|||
- name: Build AppImage
|
||||
run: |
|
||||
mkdir -p Cryptura.AppDir/usr/bin
|
||||
cp -r ./output_linux/* Cryptura.AppDir/usr/bin/
|
||||
cp -r ./output_linux_x64/* Cryptura.AppDir/usr/bin/
|
||||
|
||||
cp Cryptura/Assets/AppRun Cryptura.AppDir/
|
||||
cp Cryptura/Assets/cryptura.desktop Cryptura.AppDir/
|
||||
|
@ -89,10 +102,11 @@ jobs:
|
|||
- name: Pack Releases into Zips
|
||||
run: |
|
||||
mkdir -p ./release
|
||||
zip -r ./release/Cryptura_Linux_x64.zip ./output_linux
|
||||
zip -r ./release/Cryptura_Windows_x64.zip ./output_win
|
||||
zip -r ./release/Cryptura_OSX_x64.zip ./output_osx
|
||||
rm -rf ./output_linux ./output_win ./output_osx
|
||||
zip -r ./release/Cryptura_Linux_x64.zip ./output_linux_x64
|
||||
zip -r ./release/Cryptura_Linux_arm64.zip ./output_linux_arm64
|
||||
zip -r ./release/Cryptura_Windows_x64.zip ./output_win_x64
|
||||
zip -r ./release/Cryptura_Windows_arm64.zip ./output_win_arm64
|
||||
rm -rf ./output_linux_x64 ./output_linux_arm64 ./output_win_x64 ./output_win_arm64
|
||||
|
||||
|
||||
- name: Create Git tag
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
||||
<AssemblyVersion>1.0</AssemblyVersion>
|
||||
<FileVersion>1.7</FileVersion>
|
||||
<FileVersion>2.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Add table
Reference in a new issue