Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
Create dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yretenai authored Jun 10, 2022
1 parent ea6474b commit 601db49
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Cethleann
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
jobs:
build:
runs-on: windows-latest
steps:
- name: Cache
uses: actions/cache@v2
with:
path: ${{ github.workspace }}/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: 'recursive'
- name: Install .NET Core 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
include-prerelease: true
- name: Restore project
run: dotnet restore
- name: Build Release
run: dotnet build -c Release -o dist/release
- name: Upload Release
uses: actions/upload-artifact@v2
with:
name: cethleann-net7-win-x86-64-rel
path: dist/release

0 comments on commit 601db49

Please sign in to comment.