mirror of
https://github.com/timsutton/brigadier.git
synced 2024-09-19 19:18:51 -04:00
34 lines
840 B
YAML
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
|