-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 920 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Deploy
on:
push:
branches:
- main
paths:
- "src/**"
jobs:
deploy:
strategy:
matrix:
os: [ubuntu-latest]
dotnet: [8.0.301]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Run build
run: dotnet run build
- name: Run tests
run: dotnet run test
- name: Bundle releases
run: dotnet run publish
# For now I simply make a continuous build
- name: Release files
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest
prerelease: false
title: Continuous Build
files: |
LICENSE.txt
deploy/*