Add GitHub Actions

This commit is contained in:
Andreas 2020-02-17 19:42:21 +01:00 committed by GitHub
parent 3df3bfb261
commit 1ccac01c0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

24
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: Build with dotnet
run: dotnet publish -c debug -r linux-x64 /p:PublishSingleFile=true
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
with:
# Artifact name
name: RSSBot-Nightly
# Directory containing files to upload
path: bin/Debug/linux-x64/publish/