mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-01 13:20:50 +01:00
Ell
50e864b94f
* add a test to recreate the issue
* fixed deploy-demo running on pull requests
* restructure cake script to run tests separately
* actually name the test step correctly
* also run the build task separately
* made all tasks explicitly depend on prepare
* install android workload manually, rather than as part of cake
* Revert "install android workload manually, rather than as part of cake"
This reverts commit 101d6d3eac
.
* don't clear a panel's scroll bar max history between area updates
* added changelog entry
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
on: [push, pull_request]
|
|
jobs:
|
|
build-publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v3
|
|
with:
|
|
dotnet-version: '8.0.x'
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
- name: Setup Android SDK
|
|
uses: android-actions/setup-android@v3
|
|
- name: Restore tools
|
|
run: dotnet tool restore
|
|
- name: Run Build
|
|
run: dotnet cake --target Build --ref ${{ github.ref }} --buildNum ${{ github.run_number }}
|
|
- name: Run Test
|
|
uses: coactions/setup-xvfb@v1
|
|
with:
|
|
run: dotnet cake --target Test --ref ${{ github.ref }} --buildNum ${{ github.run_number }}
|
|
- name: Run Publish
|
|
run: dotnet cake --target Publish --ref ${{ github.ref }} --buildNum ${{ github.run_number }}
|
|
env:
|
|
NUGET_KEY: ${{ secrets.NUGET_KEY }}
|
|
BAGET_KEY: ${{ secrets.BAGET_KEY }}
|