25 lines
547 B
YAML
25 lines
547 B
YAML
|
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/
|