armor fix #21
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: CI Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.x | |
- name: Build projects | |
run: dotnet build --configuration Debug /p:OutputPath=${PWD}/DebugOutput | |
- name: Prepare Artifact | |
run: | | |
find ./DebugOutput ! -name 'R2API*.dll' ! -name 'R2API*.pdb' ! -name 'R2API*.xml' ! -name 'xunit*' -type f -delete | |
- name: Upload R2API Build Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: R2API | |
path: | | |
DebugOutput/* |