forked from Samsung/TizenFX
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 1.06 KB
/
dotnet.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET Test
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET 6.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.x'
- name: Display dotnet version
run: dotnet --version
- name: Install dotnet tools
run: dotnet tool install -g docfx --version 2.61.0
- name: Disply doxfx version
run: |
docfx --version
dotnet --list-sdks
- name: Git clone TizenFX
uses: actions/checkout@v3
with:
repository: shyunMin/TizenFX
ref: 'tizenfx-docs'
- name: Build TizenFX sources
run: |
./build.sh clone
./build.sh restore
./build.sh build
- name: Archive Artifacts
run: |
tar xvfz site.tar.gz _site/
- uses: actions/upload-artifact@v2
with:
name: documents
path: site.tar.gz