2020-02-17 19:42:21 +01:00
|
|
|
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
|
2020-02-17 19:45:26 +01:00
|
|
|
path: bin/Debug/netcoreapp3.1/linux-x64/publish/
|