Skip to content

Commit

Permalink
new actions stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
nesrak1 committed Apr 13, 2023
1 parent 6d62d9e commit 51fa256
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build UABEA Windows

on:
push:
branches: [ master, at3 ]
branches: [ master, linux-actions-test ]
pull_request:
branches: [ master ]

Expand All @@ -17,7 +17,7 @@ jobs:
fetch-depth: 0

- name: Install .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

Expand All @@ -27,7 +27,8 @@ jobs:
- name: Build
run: msbuild UABEAvalonia.sln /restore /p:Configuration=Release

- uses: actions/upload-artifact@v2
- name: Upload
uses: actions/upload-artifact@v2
with:
name: uabea-windows
path: UABEAvalonia/bin/Release/net6.0
path: UABEAvalonia/bin/Release/net6.0
37 changes: 37 additions & 0 deletions .github/workflows/dotnet-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build UABEA Ubuntu

on:
push:
branches: [ master, linux-actions-test ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-20.04

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Remove TexToolWrap VC++ project
run: dotnet sln UABEAvalonia.sln remove TexToolWrap/TexToolWrap.vcxproj

- name: Restore
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore

- name: Upload
uses: actions/upload-artifact@v2
with:
name: uabea-windows
path: UABEAvalonia/bin/Release/net6.0

0 comments on commit 51fa256

Please sign in to comment.