Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VirxEC authored Jun 20, 2024
1 parent bfd0e8a commit 36cf506
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build

on: [ workflow_dispatch, push ]

jobs:
build-windows:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Generate Flatbuffers
run: generate-flatbuffers.bat

- name: Build
run: dotnet publish

- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: RLBotServer-windows
path: ./**/publish/RLBotServer.exe

build-linux:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Generate Flatbuffers
run: ./generate-flatbuffers.sh

- name: Build
run: dotnet publish

- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: RLBotServer-ubuntu
path: ./**/publish/RLBotServer

0 comments on commit 36cf506

Please sign in to comment.