Test PR#1570 - Android Support #1847
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build the mod on pull request | |
run-name: Test PR#${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }} | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
branches-ignore: | |
- '**l10n_main' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: pr#${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create token.env file | |
run: echo "Github Actions" > token.env | |
- name: Setup .NET | |
id: setup-dotnet | |
uses: actions/setup-dotnet@v4 | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore |