brigadier/.github/workflows/main.yml
2022-11-09 15:30:13 -05:00

34 lines
840 B
YAML

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
# push:
# branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: bash .\ci\windows\ci-windows.sh
- name: Archive
uses: actions/upload-artifact@v3
with:
name: brigadier-windows-exe
path: D:\a\brigadier\brigadier\dist
# Running the command as a test isn't really useful to us yet
# - name: Test
# run: bash .\ci\windows\test.sh