Skip to content

Add action to test current version #2

Add action to test current version

Add action to test current version #2

name: .NET Core
on:
push:
branches: ['*']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Development --no-restore
- uses: dsaltares/fetch-gh-release-asset@master
with:
file: 'osu.Game.Rulesets.Rush.dll'
target: 'osu.Game.Rulesets.Rush.Tests/bin/Debug/net6.0/osu.Game.Rulesets.Rush.dll'
- name: Test
run: dotnet test --no-restore --no-build --verbosity normal
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: Rush (dev build)
path: osu.Game.Rulesets.Rush/bin/Development/net6.0/osu.Game.Rulesets.Rush-dev.dll