Translations update from Hosted Weblate #25
Workflow file for this run
This file contains 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 | |
on: | |
# Build on new commits or pull requests. | |
push: | |
pull_request: | |
schedule: | |
# Run every week just to make sure the CI environment still works. | |
- cron: '0 0 * * 0' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: Merge translations into add-in manifest | |
run: dotnet run --project Pinta/installer/addins/Pinta.AddinUtils.csproj -- localize-manifest --manifest-file BlockBrush/.addin.xml --resource-files BlockBrush/Resources/*.resx | |
- name: Compile | |
run: dotnet build -c Release | |
- name: Install mautil | |
run: dotnet tool install --global Mono.Addins.UtilTool | |
- name: Create Package | |
run: mautil pack BlockBrush/bin/Release/net8.0/BlockBrush.dll | |
- name: Upload Package | |
uses: actions/upload-artifact@v3 | |
with: | |
path: '*.mpack' | |
if-no-files-found: error |