diff --git a/.github/workflows/new-version-test.yml b/.github/workflows/new-version-test.yml new file mode 100644 index 0000000..4a7f240 --- /dev/null +++ b/.github/workflows/new-version-test.yml @@ -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 --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