aboutsummaryrefslogtreecommitdiff
path: root/libs/preview_nif/.github/workflows/build.yml
blob: 4bb116644c69cff87af520f2395f8a39847112bf (plain)
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
name: Build NIF Preview Plugin

on:
  push:
    branches: main
  pull_request:
    types: [opened, synchronize, reopened]

jobs:
  build:
    runs-on: windows-2022
    steps:
      - name: Build NIF Preview Plugin
        uses: ModOrganizer2/build-with-mob-action@master
        with:
          mo2-third-parties: fmt libbsarch
          mo2-dependencies: cmake_common uibase
      - name: Upload Build
        uses: actions/upload-artifact@v3
        with:
          name: preview_nif
          path: |
            ./build/modorganizer_super/${{ github.event.repository.name }}/vsbuild/src/RelWithDebInfo/preview_nif.dll
      - uses: actions/upload-artifact@v3
        with:
          name: preview_nif
          path: |
            ./build/modorganizer_super/${{ github.event.repository.name }}/**/data/shaders/*