feat: bump version #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pack | |
on: | |
push: | |
branches: [ "action/pack" ] | |
pull_request: | |
branches: [ "action/pack" ] | |
jobs: | |
nuget_desktop: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Nuget Ursa | |
run: dotnet pack ./src/Ursa -o ./nugets | |
- name: Nuget Ursa.Themes.Semi | |
run: dotnet pack ./src/Ursa.Themes.Semi -o ./nugets | |
- name: Desktop | |
run: dotnet publish ./demo/Ursa.Demo.Desktop -r win-x64 -c Release /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true --self-contained true | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
name: nuget_desktop | |
path: | | |
./nugets | |
./**/publish/*.exe | |
android: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: CD Android | |
run: cd ./demo/Ursa.Demo.Android | |
- name: Restore Dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet publish ./demo/Ursa.Demo.Android -c Release -f net8.0-android --no-restore | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
name: android | |
path: ./**/publish/*Signed.apk |