From 1ccac01c0abcf6b0ba0d2c9eb956a80a3feb0f1f Mon Sep 17 00:00:00 2001 From: Andreas Date: Mon, 17 Feb 2020 19:42:21 +0100 Subject: [PATCH] Add GitHub Actions --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..07cf2a5 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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/