Skip to content

Commit

Permalink
Add action to test current version
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed Oct 26, 2023
1 parent 95252d4 commit a30267a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/new-version-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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 --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

0 comments on commit a30267a

Please sign in to comment.