mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-20 01:46:21 +00:00
Add CI
This commit is contained in:
14 files changed
+301
-26
No files matched your search
@@ -0,0 +1,41 @@
|
||||
name: Cake
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 5.0.101
|
||||
|
||||
- name: Download artifact
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
with:
|
||||
github_token: ${{secrets.GITHUB_TOKEN}}
|
||||
workflow: main.yml
|
||||
workflow_conclusion: success
|
||||
branch: reactor
|
||||
name: BepInEx-reactor
|
||||
repo: NuclearPowered/BepInEx
|
||||
|
||||
- name: Cake Action
|
||||
run: sh build.sh
|
||||
env:
|
||||
STEAM: ${{ secrets.STEAM }}
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Reactor.dll
|
||||
path: Reactor/bin/Release/net472/Reactor.dll
|
||||
Reference in new issue
Block a user