Add GitHub Actions
This commit is contained in:
parent
3df3bfb261
commit
1ccac01c0a
24
.github/workflows/ci.yml
vendored
Normal file
24
.github/workflows/ci.yml
vendored
Normal 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/
|
Loading…
Reference in New Issue
Block a user